# valid-identifier

> Validates namespaces and java package names against identifier rules

Latest version **0.0.2** (published 2018-12-28) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install valid-identifier
pnpm add valid-identifier
yarn add valid-identifier
bun add valid-identifier
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-12-28 |
| First published | 2014-11-26 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 16.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Jesse MacFadyen |
| Maintainers | purplecabbage |
| Keywords | validate, identifier, java, c# |

## Links

- npm: https://www.npmjs.com/package/valid-identifier
- Repository: https://github.com/purplecabbage/valid-identifier
- Homepage: https://github.com/purplecabbage/valid-identifier#readme
- Issues: https://github.com/purplecabbage/valid-identifier/issues
- npm.io page: https://npm.io/package/valid-identifier

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2018-12-28
- 0.0.1 — 2014-11-26

## README

<!--
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
#  KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#
-->

[![Build Status](https://travis-ci.org/purplecabbage/valid-identifier.svg?branch=master)](https://travis-ci.org/purplecabbage/valid-identifier) 
[![npm version](https://badge.fury.io/js/valid-identifier.svg)](https://badge.fury.io/js/valid-identifier)

#Usage

	npm install valid-identifier

	var validateIdentifier = require('valid-identifier');
	validateIdentifier("$dollarSign"); // returns true
	validateIdentifier("org.apache.cordova.myapp"); // true
	
	validateIdentifier("private.name"); // false, private is a reserved word
	validateIdentifier("org.8bit"); // false, portion starts with a number
	validateIdentifier("extra.dot."); // false



#Running the tests

	npm test

---
_Source: https://npm.io/package/valid-identifier · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
