{"id":16884413,"url":"https://github.com/yerkopalma/is-valid-identifier","last_synced_at":"2025-03-22T08:30:33.582Z","repository":{"id":57277702,"uuid":"69578152","full_name":"YerkoPalma/is-valid-identifier","owner":"YerkoPalma","description":":v: check if a string is a valid ECMAscript identifier","archived":false,"fork":false,"pushed_at":"2019-05-19T20:52:41.000Z","size":21,"stargazers_count":4,"open_issues_count":9,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T14:22:59.496Z","etag":null,"topics":["identifier"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/is-valid-identifier","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/YerkoPalma.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-29T14:56:16.000Z","updated_at":"2023-03-04T06:02:37.000Z","dependencies_parsed_at":"2022-09-18T12:50:32.501Z","dependency_job_id":null,"html_url":"https://github.com/YerkoPalma/is-valid-identifier","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YerkoPalma%2Fis-valid-identifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YerkoPalma%2Fis-valid-identifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YerkoPalma%2Fis-valid-identifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YerkoPalma%2Fis-valid-identifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YerkoPalma","download_url":"https://codeload.github.com/YerkoPalma/is-valid-identifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244197073,"owners_count":20414433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["identifier"],"created_at":"2024-10-13T16:27:51.331Z","updated_at":"2025-03-22T08:30:33.298Z","avatar_url":"https://github.com/YerkoPalma.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-valid-identifier [![Build Status](https://secure.travis-ci.org/YerkoPalma/is-valid-identifier.svg?branch=master)](https://travis-ci.org/YerkoPalma/is-valid-identifier) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n\u003e check if a string is a valid ECMAscript identifier\n\nAll the code is based on [this repo](https://github.com/mathiasbynens/mothereff.in/tree/master/js-variables), I am just putting it into npm.\n\n## Installation\n\n```bash\nnpm install --save is-valid-identifier\n```\n\n## Usage\n\n```javascript\nconst isValidIdentifier = require('is-valid-identifier')\n\nisValidIdentifier('404') // =\u003e false\nisValidIdentifier('404', true) // =\u003e second argument is for strict mode, instead of returning a false, will throw an exception\n```\n\n## License\n\nMIT\n\nCrafted with \u003c3 by [Yerko Palma](https://github.com/YerkoPalma).\n\n***\n\n\u003e This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyerkopalma%2Fis-valid-identifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyerkopalma%2Fis-valid-identifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyerkopalma%2Fis-valid-identifier/lists"}