0.1.0 • Published 6 years ago

presets v0.1.0

Weekly downloads
34
License
MIT
Repository
github
Last release
6 years ago

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

NameWebsite
Andreas Pizsahttps://github.com/AndreasPizsa

License

MIT © Andreas Pizsa