{"versions":{"1.0.0":{"name":"draft-js-multidecorators","version":"1.0.0","description":"Combine multiple decorators for DraftJS","main":"index.js","scripts":{"test":"export TESTING=true; mocha --reporter spec --bail"},"repository":{"type":"git","url":"git+https://github.com/SamyPesse/draft-js-multidecorators.git"},"keywords":["draft-js"],"author":{"name":"Samy Pesse","email":"samypesse@gmail.com"},"license":"Apache-2.0","bugs":{"url":"https://github.com/SamyPesse/draft-js-multidecorators/issues"},"homepage":"https://github.com/SamyPesse/draft-js-multidecorators#readme","dependencies":{"immutable":"*"},"devDependencies":{"draft-js":"^0.7.0","expect":"^1.20.1","mocha":"^2.5.3","react":"^15.1.0","react-dom":"^15.1.0"},"gitHead":"983bf188c011f52ab6365fd608aae5fab96c933c","_id":"draft-js-multidecorators@1.0.0","_shasum":"6c4be8d7b78dd2b966ee51ee6cc179b9b535e612","_from":".","_npmVersion":"3.7.5","_nodeVersion":"5.1.0","_npmUser":{"name":"anonymous","email":"samypesse@gmail.com"},"dist":{"shasum":"6c4be8d7b78dd2b966ee51ee6cc179b9b535e612","size":6083,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/draft-js-multidecorators/-/draft-js-multidecorators-1.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"samypesse@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/draft-js-multidecorators-1.0.0.tgz_1464710922992_0.6823210893198848"},"directories":{},"publish_time":1464710924027,"_cnpm_publish_time":1464710924027,"_hasShrinkwrap":false,"contributors":[]}},"dist-tags":{"latest":"1.0.0"},"name":"draft-js-multidecorators","time":{"modified":"2023-08-09T07:15:16.735Z","created":"2022-01-26T22:37:50.222Z","1.0.0":"2016-05-31T16:08:44.027Z"},"readme":"# draft-js-multidecorators\n\n[![Build Status](https://travis-ci.org/SamyPesse/draft-js-multidecorators.png?branch=master)](https://travis-ci.org/SamyPesse/draft-js-multidecorators)\n[![NPM version](https://badge.fury.io/js/draft-js-multidecorators.svg)](http://badge.fury.io/js/draft-js-multidecorators)\n\n\n> Combine multiple Draft's decorators into one.\n\n### Installation\n\n```\n$ npm install draft-js-multidecorators\n```\n\n### Usage\n\n```js\nvar Draft = require('draft-js');\nvar MultiDecorator = require('draft-js-multidecorators');\n\nvar decorator = new MultiDecorator([\n    new SomeCustomDecorator(),\n\n    // This decorator will have more priority:\n    new Draft.CompositeDecorator([ ... ])\n]);\n\nvar editorState = Draft.EditorState.createEmpty(decorator)\n```","users":{}}