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

simple-currency-format

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-currency-format - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

dist/index.js

5

package.json
{
"name": "simple-currency-format",
"version": "1.0.0",
"version": "1.0.1",
"description": "Format currency when Intl is not available",

@@ -12,2 +12,5 @@ "main": "index.js",

},
"files": [
"dist"
],
"scripts": {

@@ -14,0 +17,0 @@ "test": "echo \"Error: no test specified\" && exit 1",

12

readme.md

@@ -1,2 +0,2 @@

### Simplified Currency formatter
## Simplified Currency formatter

@@ -15,2 +15,7 @@ #### A simple, lightweight, localized currency formatter.

```shell
npm install simple-currency-format
yarn add simple-currency-format
```
```javascript

@@ -29,1 +34,6 @@ import { currecyFormat } from 'simple-currency-format';

```
## Credits
- [Intl.js](https://github.com/andyearnshaw/Intl.js/): We use currency format data from this library.
- [currency-symbol-map](https://github.com/bengourley/currency-symbol-map): We use currency symbol mapping from this library.
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