
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
nuget-in-path
Advanced tools
This is a fork of https://github.com/kmalakoff/node-nuget
The only difference is that this package will attempt to use the locally installed version of NuGet before fallbacking to the one shipped with this package.
Nuget library wrapper for Node.js.
This library uses Vinyl files for flexibility and Gulp compatibility.
nuget = require 'nuget'
nuget.pack 'package.nuspec', (err, nupkg_file) ->
throw err if err
nuget.push nupkg_file, (err) ->
throw err if err
console.log "Successfully pushed #{nupkg_file.path}"
gulp = require 'gulp'
gutil = require 'gulp-util'
es = require 'event-stream'
nuget = require 'nuget'
nugetGulp = -> es.map (file, callback) ->
nuget.pack file, (err, nupkg_file) ->
return callback(err) if err
nuget.push nupkg_file, (err) -> if err then gutil.log(err) else callback()
gulp.src('*.nuspec')
.pipe(nugetGulp())
Add the 'nuget.org' source to your Nuget config file
$ mono nuget.exe sources add -name "nuget.org" -source "https://www.nuget.org/api/v2/package"
Add the credentials for your source
$ mono nuget.exe setApiKey {YOUR_API_KEY} -source nuget.org
FAQs
Nuget library wrapper for Node.js
We found that nuget-in-path 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 CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.