mikolalysenko

mikolalysenko/is-property

Tests if a json property can be safely accessed using the . syntax

JavaScript
13
4
MIT License

This package checks whether a given string can be safely used as a property name in JavaScript dot notation. It's useful for developers working with dynamic object property access who need to ensure compatibility with both dot and bracket notation.

Total donated
Undistributed
Share with your subscribers: