
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
j2-grunt-jsdoc
Advanced tools
Task to generate js-doc documentation into json file that can be consumed later.
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install j2-grunt-jsdoc --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-j2-grunt-jsdoc');
First, add the doc
entry to the options of the initConfig
method of your Gruntfile.js :
grunt.initConfig({
doc : {
dist : {
options : {
configPath : 'doc.config.json',
destination : 'build/',
projectName : 'myAwesomeProject'
}
}
}
});
The supported options are
configPath
: Is the path to the jsdoc config file.destination
: Is the path for the destination directory. This is where the task will generate a doc.json
fileprojectName
: Is the name of the current project. Just so the links etc are relative to the projectTo generate the documentation, you need to call the doc
task:
$>grunt doc
or integrate it to your build sequence:
grunt.registerTask('default', ['lint', 'test', 'doc']);
Copyright (c) 2017 SS Virk, J2 Innovation Inc. Licensed under the ISC license.
FAQs
Grunt task to generate documentation for J2Inn projects
The npm package j2-grunt-jsdoc receives a total of 2 weekly downloads. As such, j2-grunt-jsdoc popularity was classified as not popular.
We found that j2-grunt-jsdoc 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.