Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
aureooms-js-rational
Advanced tools
Rational numbers code bricks for JavaScript.
let [ a , b ] = add( 1 , 10 , 1 , 5 ) ;
a / b === 3 / 10 ; // true
Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.
jspm install github:aureooms/js-rational
# or
jspm install npm:aureooms-js-rational
No install step needed for duo!
component install aureooms/js-rational
bower install aureooms-js-rational
ender add aureooms-js-rational
jam install aureooms-js-rational
spm install aureooms-js-rational --save
npm install aureooms-js-rational --save
let rational = require( "github:aureooms/js-rational" ) ;
// or
import rational from 'aureooms-js-rational' ;
let rational = require( "aureooms/js-rational" ) ;
let rational = require( "aureooms-js-rational" ) ;
The script tag exposes the global variable rational
.
<script src="bower_components/aureooms-js-rational/js/dist/rational.min.js"></script>
Alternatively, you can use any tool mentioned here.
require( [ "aureooms-js-rational" ] , function ( rational ) { ... } ) ;
let number = require( 'aureooms-js-number' ) ;
let add = rational._add( number.mul , number.add ) ;
let sub = rational._sub( number.mul , number.sub ) ;
let mul = rational._mul( number.mul ) ;
let div = rational._div( number.mul ) ;
FAQs
rational numbers code bricks for JavaScript
The npm package aureooms-js-rational receives a total of 1 weekly downloads. As such, aureooms-js-rational popularity was classified as not popular.
We found that aureooms-js-rational 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.