Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

ncname

2.0.0 • Public • Published

ncname Build Status

Regular expression for matching XML NCName

Install

$ npm install ncname

Usage

const ncname = require('ncname');
 
ncname.test('hællæ');
//=> true
 
ncname.test('$unicorn');
//=> false

License

MIT © Sindre Sorhus

install

npm i ncname

Downloadsweekly downloads

538,587

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability