
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.
The world's smallest and fastest classical JavaScript inheritance pattern.
The world's smallest and fastest classical JavaScript inheritance pattern, augment
, is a seven line function which allows you to write CoffeeScript style classes with a flair of simplicity; and it still beats the bejesus out of other JavaScript inheritance libraries.
Inspired by giants like Jeremy Ashkenas and John Resig, augment
is an augmentation of ideas. Classes created using augment
have a CoffeeScript-like class structure, and a syntax like John Resig's classes; but they are more readable, intuitive and orders of magnitude faster. In addition they work on virtually every JavaScript platform.
augment
on node.js using the npm command npm install augment
.augment
on RingoJS using the rp command rp install augment
.augment
for web apps using the component command component install javascript/augment
.augment
for web apps using the bower command bower install augment
.You can use augment
as a CommonJS module:
var augment = require("augment"); // module.exports must be supported
You can use augment
with the AMD API:
define(["augment"], function (augment) {
// ....
});
You can include the latest copy in your web pages, fiddles and benchmarks:
<script src="https://rawgithub.com/javascript/augment/master/augment.js"></script>
You can browse the source code and stick it into your program.
The augment
library is released under the MIT license. So feel free to modify and distribute it as you wish.
FAQs
The world's smallest and fastest classical JavaScript inheritance pattern.
The npm package augment receives a total of 1,805 weekly downloads. As such, augment popularity was classified as popular.
We found that augment 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.