0.2.0 • Published 6 years ago

identifiers-urn v0.2.0

Weekly downloads
12
License
MIT
Repository
github
Last release
6 years ago

Identifiers - URN Build Status

Extract, validate and normalize URNs.

Current version: 0.2.0
Supported Node.js versions: 4, 5, 6, 7

Installation

Add the following to your package.json via yarn add identifiers-urn or npm install --save identifiers-urn:

"identifiers-urn": "^0.2.0"

Usage

const urn = require("identifiers-urn");

urn.extract("En un pueblo italiano urn:1234:abc al pie de la montaña URN:foo:bar%23.\\");
//=> ["urn:1234:abc", "URN:foo:bar%23."]

Other versions

We also maintain versions of this library for Ruby and PHP.

License

Copyright © 2017 Altmetric LLP

Distributed under the MIT License.

0.2.0

6 years ago

0.1.1

7 years ago

0.1.0

7 years ago