pinf-it-packageinsight

0.1.2 • Public • Published

STATUS: DEV

Package MetaData Wrapper

Package metadata standards are evolving but there are various differences across communities.

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

Install

npm install pinf-it-packageinsight

Usage

const PACKAGEINSIGHT = require("packageinsight");

PACKAGEINSIGHT.parseDescriptor("<path>" || <object>, {
	type: "<type>" || null
}, function(err, descriptor) {
	// `descriptor.raw`
	// `descriptor.notmalized`
	// `descriptor.warnings`
	// `descriptor.errors`
});

Development

make test

License

UNLICENSE

Readme

Keywords

none

Package Sidebar

Install

npm i pinf-it-packageinsight

Weekly Downloads

1

Version

0.1.2

License

none

Last publish

Collaborators

  • cadorn