{"library":"is-identifier","type":"library","category":null,"description":"The `is-identifier` package provides a highly focused utility to determine if a given string constitutes a valid JavaScript identifier according to ECMAScript specifications. Currently at stable version 1.0.1, this package follows Sindre Sorhus's typical release cadence of infrequent, targeted updates, primarily for bug fixes or minor spec clarifications, ensuring long-term stability. Its key differentiators include precise adherence to the JavaScript identifier rules, including reserved keywords (like `await`) and special global properties (like `globalThis`, `Infinity`, `NaN`, `undefined`) which it correctly treats as invalid identifiers for practical use, despite some not being strictly \"keywords\". It is a small, dependency-free module optimized for performant identifier validation, contrasting with broader AST parsing libraries.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","identifier","keyword","word","check","test","reserved","ecmascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install is-identifier","imports":["import isIdentifier from 'is-identifier';","const isIdentifier = require('is-identifier');"]},{"cmd":"yarn add is-identifier","imports":[]},{"cmd":"pnpm add is-identifier","imports":[]}],"homepage":null,"github":"https://github.com/sindresorhus/is-identifier","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/is-identifier","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/is-identifier/compatibility"}}