
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
docsify-docx-converter
Advanced tools
📖 A tool for building docx based on your docsify project
npm install --save-dev docsify-docx-converter
Create config file .docsifytodocxrc.js
in your project root directory.
module.exports = {
/** "table of contents" file path */
contents: '_sidebar.md',
/** Whether to enable title degradation, if enabled, replace <h1> with <h2>, <h2> with <h3>, and so on. */
titleDowngrade: true,
/** Document root directory */
rootPath: './docs',
/** Path where docx will stored */
pathToPublic: './README.docx',
/**
* The maximum width of the image in the document, and the height will be adaptive according to the width.
* The default is 468, which is the maximum width of a word document.
*/
imgMaxWidth: 468,
/** The title of the cover page. */
coverTitle: null,
/** The style of the body. */
bodyStyles: 'font-family: 微软雅黑;',
/** landscape or portrait (default) */
orientation: 'portrait',
/** map of margin sizes
* expressed in twentieths of point, see WordprocessingML documentation for details):
* http://officeopenxml.com/WPSectionPgMar.php
* */
margins: {}
};
Add script into package.json:
{
"scripts": {
"convert": "node_modules/.bin/docsify-docx-converter"
}
}
Run converter:
npm run convert
FAQs
A tool for building docx based on your docsify project
The npm package docsify-docx-converter receives a total of 1 weekly downloads. As such, docsify-docx-converter popularity was classified as not popular.
We found that docsify-docx-converter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.