pkguid

1.1.1 • Public • Published

pkguid

A module for parsing & creating package UIDs which supports CommonJS/AMD format

Usage

var pkguid = require("pkguid");
 
pkguid.parse("@namespace/name@1.0.0");
// returns { name: "@namespace/name", version: "1.0.0" }
 
pkguid.create("name", "1.0.0");
// returns "name@1.0.0"

Readme

Keywords

none

Package Sidebar

Install

npm i pkguid

Weekly Downloads

2

Version

1.1.1

License

none

Last publish

Collaborators

  • qubit
  • oliverwoodings