Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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
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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.