
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
coffee-unused
Advanced tools
This module helps you identify unused variables in your coffescript project. It finds all unused variables under a given directory and returns an array of objects specifying the name of the variable, its path and line number.
[[
{
name: 'fs'
path: 'directory_path/vars/var1.coffee:1'
lineNumber: 1
}
{
name: 'options'
path: 'directory_path/vars/var1.coffee:3'
lineNumber: 3
}
]]
npm install coffee-unused
node ./node_modules/coffee-unused/index.js --src <path to walk> [-s|--skip-parse-error]
FAQs
Find unused variables and imports in CoffeeScript files
We found that coffee-unused demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies