Skip to content

Latest commit

 

History

History
executable file
·
64 lines (42 loc) · 712 Bytes

README.md

File metadata and controls

executable file
·
64 lines (42 loc) · 712 Bytes

MM Agent

Usage

Basic

Basic example.

import Agent from 'mm-agent'

Agent.inspect();
console.log(Agent.os);

Build

To build the sources with babel in ./lib directory :

npm run build

Documentation

To generate the JSDoc :

npm run docs

To generate the documentation and deploy on gh-pages branch :

npm run docs:deploy

Testing

To run the tests, first clone the repository and install its dependencies :

git clone https://github.com/MM56/mm-agent.git
cd xxx
npm install

Then, run the tests :

npm test

To watch (test-driven development) :

npm run test:watch

For coverage :

npm run test:coverage