
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@knot/browserify-plugin
Advanced tools
[](http://npm.im/@knot/browserify-plugin) [](https://github.com/prettier/pr
A
browserifyplugin to automatically handle parsing and transformingknotcode.
Integrate knot into your existing browserify build easily using this plugin.
npm install @knot/browserify-plugin
# or
yarn add @knot/browserify-plugin
In order to use knot modules with browserify, add the plugin to your build command.
browserify main.kn -p [ @knot/browserify-plugin ] > bundle.js
# optionally print an exhaustive log of the operation of the compiler
browserify main.kn -p [ @knot/browserify-plugin --debug ] > bundle.js
// browserify.js
import browserify from 'browserify';
import knotify from '@knot/browserify-plugin';
browserify()
// add the plugin to your exsiting configuration
.plugin(knotify, {
// optionally print an exhaustive log of the operation of the compiler
// debug: true,
});
You will now be able to import a .kn file from any normal javascript file.
When running browserify, these files will be automatically converted into native javascript modules.
There is also a more robust example.
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
MIT © 2019 Ben Teichman
FAQs
[](http://npm.im/@knot/browserify-plugin) [](https://github.com/prettier/pr
We found that @knot/browserify-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.