This package has been deprecated

Author message:

This package is no longer being maintained. You should not use it.

@w33bletools/module-info

0.1.2 • Public • Published

module-info

Get information about your module from your package.json file and any git information.

GitHub license Build Status Coverage npm Project Status

Usage

yarn add @w33bletools/module-info

And in your code:

const moduleInfo = require('@w33bletools/module-info');

const info = moduleInfo();

/*
{
  pkg: {
    name: 'your-repo',
    version: '1.0.0',
    main: 'index.js',
    dependencies: {}
  },
  git: {
    branch: 'master',
    tag: null,
    commit: {
      sha: 'ac2d0c4c19b7ab77bce0678fb304427c77d138db',
      message: 'initial commit',
      author: 'Commit Author <author@email>',
      date: '2017-12-04T20:42:52.000Z'
    }
  }
}
*/

License

MIT © w33ble

Dependents (0)

Package Sidebar

Install

npm i @w33bletools/module-info

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • w33ble