identifiers-urn

    0.2.0 • Public • Published

    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.

    Install

    npm i identifiers-urn

    DownloadsWeekly Downloads

    7

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • jbilbo