wallet-core/node_modules/ncname/readme.md

29 lines
480 B
Markdown
Raw Normal View History

2017-05-03 15:35:00 +02:00
# ncname [![Build Status](https://travis-ci.org/sindresorhus/ncname.svg?branch=master)](https://travis-ci.org/sindresorhus/ncname)
> Regular expression for matching [XML NCName](http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCName)
## Install
```sh
$ npm install --save ncname
```
## Usage
```js
var ncname = require('ncname');
ncname.test('hællæ');
//=> true
ncname.test('$unicorn');
//=> false
```
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)