pkguid
v1.1.1
Published
A module for parsing & creating package UIDs
Downloads
16
Readme
pkguid
A module for parsing & creating package UIDs which supports CommonJS/AMD format
Usage
var pkguid = require("pkguid");
pkguid.parse("@namespace/[email protected]");
// returns { name: "@namespace/name", version: "1.0.0" }
pkguid.create("name", "1.0.0");
// returns "[email protected]"