pinf-it-module-insight

0.1.9 • Public • Published

Status: DEV

Module Insight

Module standards are evolving but there are various differences across communities.

This library attempts to generate a normalized module descriptor for any module that adheres to any the following conventions:

Install

npm install pinf-it-module-insight

Usage

const MODULE_INSIGHT = require("pinf-it-module-insight");

MODULE_INSIGHT.parseFile("<path>", {}, function(err, descriptor) {
    // `descriptor.globals`
    // `descriptor.format`
    // `descriptor.undefine`
    // `descriptor.warnings`
    // `descriptor.errors`
});

Development

npm test

Links

License

UNLICENSE

/pinf-it-module-insight/

    Package Sidebar

    Install

    npm i pinf-it-module-insight

    Weekly Downloads

    0

    Version

    0.1.9

    License

    none

    Last publish

    Collaborators

    • cadorn