1.0.0-alpha.2 • Published 6 years ago
factojs v1.0.0-alpha.2
Facto for JavaScript
Installation and Usage
ES6 via npm
npm install facto
To 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 facto
const { 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
6 years ago
1.0.0-alpha.1
6 years ago