Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fixed-math

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fixed-math - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

12

package.json
{
"name": "fixed-math",
"version": "0.1.1",
"version": "0.1.2",
"description": "Converts a decimal number using fixed-point notation, avoiding the conversion from number to string of Number.toFixed, and allowing the user to choose the approximation method to be used",

@@ -30,8 +30,8 @@ "main": "dist/index.js",

"@types/jest": "^23.3.2",
"jest": "^23.6.0",
"rimraf": "^2.6.2",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
"typescript": "^3.0.3"
"jest": "^26.1.0",
"rimraf": "^3.0.2",
"ts-jest": "^26.1.1",
"tslint": "^6.1.2",
"typescript": "^3.9.5"
}
}

@@ -15,3 +15,2 @@ [![Build Status](https://travis-ci.org/jkomyno/fixed-math.svg?branch=master)](https://travis-ci.org/jkomyno/fixed-math)

- with npm:
```sh

@@ -21,7 +20,2 @@ npm install --save fixed-math

- with yarn
```sh
yarn add fixed-math
```
## Typings

@@ -58,3 +52,12 @@

Please take a look at the tests to check out every possible nuance and example of using this package.
## Related packages
- [is-equally-spaced](https://github.com/jkomyno/is-equally-spaced): utility function that given an array of numbers, evaluates wether or not every element is equally spaced, i.e. if every subsequent couple of numbers in the array has the same distance.
## Contributing
Of course PRs are welcome!
Of course PRs are welcome! Before contributing, however, please be sure to run `npm run test:ci` or `yarn test:ci`,
in order to check if the code you wrote respects the linting conventions and if it doesn't break any test. Please
try to keep the unit test code coverage at 100%.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc