Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
technical-debts
Advanced tools
Technical debt refers to incomplete or temporary workarounds that allow us to speed software development in the short term at the cost of paying a higher price later on. Recently, studies have shown that technical debt can be detected from source code comments, referred to as self-admitted technical debt.
$ npm install --save technical-debts
const detectTechnicalDebts = require('technical-debts');
console.log(detectTechnicalDebts('./example_packages/calculator'));
//{ files:
// { '... index.js': { debts: 0, comments: 0 },
// '... lib/addition.js': { debts: 1, comments: 2 },
// '... lib/division.js': { debts: 2, comments: 7 },
// '... lib/multiplication.js': { debts: 0, comments: 1 },
// '... lib/subtraction.js': { debts: 1, comments: 2 } },
// comments: 12,
// debts: 4,
// percentage: 0.3333333333333333 }
MIT © Suhaib Mujahid
FAQs
Detect Self-Admitted Technical Debts in NodeJS Packeges
The npm package technical-debts receives a total of 0 weekly downloads. As such, technical-debts popularity was classified as not popular.
We found that technical-debts 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's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.