1.0.3 • Published 4 years ago

scm-stats v1.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
4 years ago

scm-stats

scm-stats is a simple Express middleware for pulling quick stats from Source Code Management services such as GitHub or GitLab.

Installation

Use your favourite node package manager to install scm-stats. See this example for installing using yarn:

yarn add scm-stats

Usage

// import the scm-stats module using require
const scmStats = require('scm-stats');
// or using ES6+ syntax:
import scmStats from 'scm-stats';

// add to Express as middleware
app.use('/', scmStats);

Make sure to create a respective OAuth app for your application. See the example/ folder for more detailed information.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago