Gathering detailed insights and metrics for node-quill-converter-custom
Gathering detailed insights and metrics for node-quill-converter-custom
npm install node-quill-converter-custom
Typescript
Module System
Node Version
NPM Version
60.9
Supply Chain
69.8
Quality
69.1
Maintenance
50
Vulnerability
96.1
License
JavaScript (100%)
Total Downloads
18,017
Last Day
3
Last Week
107
Last Month
312
Last Year
3,109
39 Commits
1 Watching
3 Branches
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
node-quill-converter-custom@1.0.0
Unpacked Size
10.89 kB
Size
4.28 kB
File Count
7
NPM Version
7.9.0
Node Version
14.16.0
Cumulative downloads
Total Downloads
Last day
-88%
3
Compared to previous day
Last week
35.4%
107
Compared to previous week
Last month
97.5%
312
Compared to previous month
Last year
28.9%
3,109
Compared to previous year
Convert HTML to a Quill Delta or a Quill Delta to HTML
The purpose of this package is to assist in migrating to or from the Quill editor.
# Via NPM
npm install node-quill-converter --save
# Via Yarn
yarn add node-quill-converter
1const { convertTextToDelta } = require('node-quill-converter'); 2 3let text = 'hello, world'; 4let delta = convertTextToDelta(text); 5 6console.log(JSON.stringify(delta)); // {"ops":[{"insert":"hello, world\n"}]}
1const { convertHtmlToDelta } = require('node-quill-converter'); 2 3let htmlString = '<p>hello, <strong>world</strong></p>'; 4let delta = convertHtmlToDelta(htmlString); 5 6console.log(JSON.stringify(delta); // {"ops":[{"insert":"hello, "},{"insert":"world","attributes":{"bold":true}}]}
1const { convertDeltaToHtml } = require('node-quill-converter'); 2 3let html = convertDeltaToHtml(delta); 4 5console.log(html) ; // '<p>hello, <strong>world</strong></p>'
MIT License Copyright (c) 2018 Joel Colucci
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
7 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More