Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
documentify
Advanced tools
Modular HTML bundler.
$ documentify [entry-file] [options]
Options:
-h, --help print usage
-v, --version print version
Examples:
Start bundling HTML
$ documentify .
Running into trouble? Feel free to file an issue:
https://github.com/stackhtml/documentify/issues/new
Do you enjoy using this software? Become a backer:
https://opencollective.com/choo
$ documentify ./index.html -t my-transform -t another-transform
{
"name": "my-app",
"version": "1.0.0",
"private": true,
"documentify": {
"transform": [
"my-transform",
"another-transform"
]
}
}
A transform is a regular function that returns a through
stream. The
through
stream can modify the HTML stream, which in turn passes data to the
next stream. Together the streams form a pipeline.
var through = require('through2')
module.exports = transform
function transform (opts) {
return through()
}
document = documentify(entry, [html], [opts])
Create a new documentify instance. If entry
is a .html
file, it'll be used
as the source. Otherwise uses an empty HTML file with just a body and head as
the source.
document.transform(fn, [opts])
Pass a transform to the document instance
readableStream = document.bundle()
Create a new readable stream, and start flowing the html through the transforms.
FAQs
Modular HTML bundler
The npm package documentify receives a total of 43 weekly downloads. As such, documentify popularity was classified as not popular.
We found that documentify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.