ncname
Regular expression for matching XML NCName
Last updated 5 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install ncname 
SYNC missed versions from official npm registry.

ncname

Regular expression for matching XML NCName

Install

npm install ncname

Usage

import ncname from 'ncname';

ncname.test('hællæ');
//=> true

ncname.test('$unicorn');
//=> false

Current Tags

  • 3.0.0                                ...           latest (5 years ago)

6 Versions

  • 3.0.0                                ...           5 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.0                                ...           12 years ago
  • 0.1.2                                ...           12 years ago
  • 0.1.1                                ...           13 years ago
  • 0.1.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 18
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 2
Last Month 4
Dependencies (1)
Dev Dependencies (2)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE