New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

remainder

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remainder

Returns the remainder of dividing two integers.

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
4
100%
Maintainers
1
Weekly downloads
 
Created
Source

Remainder

Returns the remainder of dividing two integers.

Please consider following this project's author, Nicholas DeHart, and consider starring the project to show your :heart: and support.

Install

Install with npm:

$ npm install --save remainder

Usage

Works with strings or numbers.

const remainder = require("remainder");

console.log(remainder("4", "2")); //=> 0
console.log(remainder("2", "4")); //=> 2

console.log(remainder(4, 2)); //=> 0
console.log(remainder(2, 4)); //=> 2

About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Nicholas DeHart

License

Copyright © 2020, Nicholas DeHart. Released under the MIT License.

Keywords

array

FAQs

Package last updated on 28 Sep 2020

Did you know?

Socket

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.

Install

Related posts