presets
v0.1.0
Published
Easily use shareable presets.
Downloads
72
Maintainers
Readme
presets
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 |