presets

0.1.0 • Public • Published

presets

build status code coverage code style styled with prettier made with lass license

Easily load shareable presets. Supports extends.

Table of Contents

Install

npm:

npm install presets

yarn:

yarn add presets

Usage

From package.json

const loadPresets = require('presets');
const presets = new loadPresets('./package.json');

From shared presets

const loadPresets = require('presets');
const presets = new loadPresets('presets-my-awesome-settings');

from a package.json

const pkg = require('./package.json')
const presets = new loadPresets(pkg.xo);

kebab-case and camelCase

presets can automatically lookup file names to camelCase and kebab-case.

Contributors

Name Website
Andreas Pizsa https://github.com/AndreasPizsa

License

MIT © Andreas Pizsa

Package Sidebar

Install

npm i presets

Weekly Downloads

25

Version

0.1.0

License

MIT

Last publish

Collaborators

  • andreaspizsa