This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@dms/packager

0.1.2 • Public • Published

Functions for packing and unpacking DMS supplies.

This package is primarily referenced by other DMS packages and not necessarily used on its own.

Loading @dms/packager.

var dmsPackager = require ('@dms/packager');

pack(supplyEntryPath)

Creates a supply bundle object from an entry path. Recursively scans files for require() calls that use relative paths and minifies the code for each.

var bundle = dmsPackager.pack(supplyEntryPath);

unpack(bundle)

Evaluates a supply bundle object into a pre-injected supply.

var s = dmsPackager.unpack(bundle);

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @dms/packager

    Weekly Downloads

    0

    Version

    0.1.2

    License

    Apache-2.0

    Last publish

    Collaborators

    • kgarg
    • pbinggeser