.. | ||
index.js | ||
package.json | ||
readme.md |
ncname
Regular expression for matching XML NCName
Install
$ npm install --save ncname
Usage
var ncname = require('ncname');
ncname.test('hællæ');
//=> true
ncname.test('$unicorn');
//=> false
License
MIT © Sindre Sorhus