draft-convert : Extensibly serialize & deserialize Draft.js ContentState. You can installing draft-convert npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install draft-convert $ sudo npm install -g draft-convert
If want to update the draft-convert package execute the command as below,
$ sudo npm update draft-convert
Update package globally,
$ npm install -g draft-convert
$ sudo git clone https://github.com/rektide/draft-convert.git
$ sudo npm install -g ./draft-convert
draft-convert@2.0.1 /usr/lib/node_modules/draft-convert
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall draft-convert
Package Name | draft-convert |
Version | 2.0.1 |
Description | Extensibly serialize & deserialize Draft.js ContentState |
Released Date | 2017-11-22T01:39:25.670Z |
Published by | bbriggs |
How to Learn | https://www.npmjs.com/package/draft-convert/tutorial |