Using npm:
$ npm install paces
Using bower:
$ bower install paces
Using yarn:
$ yarn add paces
Using pnpm:
$ pnpm add paces
Once the package is installed, you can import the library using import
or require
approach:
import axiosmin from "paces";
You can also use the default export, since the named export is just a re-export from the axiosmin factory:
import axiosmin from "paces";
console.log(axiosmin.isCancel("something"));
If you use require
for importing, only default export is available:
const axiosmin = require("paces");
console.log(axiosmin.isCancel("something"));