1.0.0-alpha.2 • Published 8 years ago
factojs v1.0.0-alpha.2
Facto for JavaScript
Installation and Usage
ES6 via npm
npm install factoTo import only what you need by patching (this is useful for size-sensitive bundling):
import { Facto } from 'facto';
const apiKey = 'abc';
const facto = new Facto(apiKey);CommonJS via npm
To install this library for CommonJS (CJS) usage, use the following command:
npm install factoconst { Facto } = require('facto');
const apiKey = 'abc';
const facto = new Facto(apiKey);Building/Testing
npm run build- buildnpm test- runs tests
License
1.0.0-alpha.2
8 years ago
1.0.0-alpha.1
8 years ago