Gathering detailed insights and metrics for @xiphe/node-quill-converter
Gathering detailed insights and metrics for @xiphe/node-quill-converter
Gathering detailed insights and metrics for @xiphe/node-quill-converter
Gathering detailed insights and metrics for @xiphe/node-quill-converter
npm install @xiphe/node-quill-converter
Typescript
Module System
Node Version
NPM Version
59.6
Supply Chain
68.7
Quality
69
Maintenance
50
Vulnerability
96.1
License
JavaScript (100%)
Total Downloads
4,067
Last Day
1
Last Week
12
Last Month
29
Last Year
2,383
96 Stars
33 Commits
25 Forks
2 Watching
12 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
0.3.3-RC.1
Package Id
@xiphe/node-quill-converter@0.3.3-RC.1
Unpacked Size
125.28 kB
Size
36.43 kB
File Count
7
NPM Version
6.4.1
Node Version
10.1.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
140%
12
Compared to previous week
Last month
-65.5%
29
Compared to previous month
Last year
121.3%
2,383
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
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
30 existing vulnerabilities detected
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