Have ideas to improve npm?Join in the discussion! »

anymod

1.0.1 • Public • Published

Anymod Build Status

A micropackage to calculate modulo operations based on the mathematical approach.

Installation

npm i anymod

Usage

const mod = require('anymod');
 
mod(17, -4) // -3
 
17 % -4 // 1

Install

npm i anymod

DownloadsWeekly Downloads

4

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar