
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
grunt-script-import
Advanced tools
Use this grunt module to import various javascript files into your html files in a shorthand format.
Use this grunt module to import various javascript files into your html files in a shorthand format.
#Installation
$ npm install grunt-script-import
#Gruntfile
script-import: {
compile: {
src : 'path/to/src.html',
dest : 'path/to/output.html',
dev_dir : 'path/to/dev_directory'
}
}
#Syntax
<script src="/path/to/other.js" type="text/javascript"></script>
<!-- import with grunt-script-import -->
@import path/to/script.js
<!-- end import with grunt-script-import-->
###Import a file
@import path/to/script.js
###Import a directory
@import directory_name/*.js
###Import a directory and sub directories
@import directory_name/**/*.js
FAQs
Use this grunt module to import various javascript files into your html files in a shorthand format.
We found that grunt-script-import 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.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.