@cjser/ncname
v3.0.0-cjser.2
Published
Regular expression for matching XML NCName
Maintainers
Readme
ncname
Regular expression for matching XML NCName
Install
npm install ncnameUsage
import ncname from 'ncname';
ncname.test('hællæ');
//=> true
ncname.test('$unicorn');
//=> falsecjser
This package is a CommonJS-compatible build generated by cjser for projects that still need require() support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.
Original repository: https://github.com/sindresorhus/ncname
