New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@phensley/plurals

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phensley/plurals - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

20

package.json
{
"name": "@phensley/plurals",
"version": "1.0.7",
"version": "1.0.8",
"description": "Plural rules engine",

@@ -39,18 +39,18 @@ "main": "lib/index.js",

"dependencies": {
"@phensley/decimal": "1.0.7",
"tslib": "1.11.1"
"@phensley/decimal": "1.0.8",
"tslib": "^1.11.1"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.7.8",
"@types/jest": "25.1.3",
"@types/node": "^10.14.10",
"@types/jest": "^25.1.3",
"@types/node": "^13.9.2",
"beautify-benchmark": "^0.2.4",
"benchmark": "^2.1.4",
"chalk": "^2.3.2",
"jest": "25.1.0",
"jest": "^25.1.0",
"rimraf": "^3.0.0",
"ts-jest": "25.2.1",
"tslint": "^5.18.0",
"ts-jest": "^25.2.1",
"tslint": "^6.1.0",
"tslint-no-circular-imports": "^0.7.0",
"typescript": "3.8.x"
"typescript": "^3.8.x"
},

@@ -70,3 +70,3 @@ "jest": {

},
"gitHead": "f411d4925d2d57589ef2cd9f1c13ef6871224bc3"
"gitHead": "42451ff35e9b5e3abeb04d2fd71ae0fc0639a82a"
}

@@ -1,8 +0,23 @@

[`@phensley/plurals`](https://www.npmjs.com/package/@phensley/plurals) ![min+gzip](https://badgen.net/bundlephobia/minzip/@phensley/plurals)
# @phensley/timezone
Standalone CLDR plural rules engine. Supports cardinal, ordinal, and plural range calculations.
[![@phensley/plurals](https://badge.fury.io/js/%40phensley%2Fplurals.svg)](https://www.npmjs.com/package/@phensley/plurals) [![min+gzip](https://badgen.net/bundlephobia/minzip/@phensley/plurals)](https://bundlephobia.com/result?p=@phensley/plurals)
Standalone CLDR plural rules engine. Supports cardinal, ordinal, and plural range calculations. Also supports arbitrary precision decimal numbers.
## Example
## Installation
NPM:
```
npm install --save @phensley/plurals
```
Yarn:
```
yarn add @phensley/plurals
```
## Examples
The plural rules engine takes 2 parameters as input: an ISO 639 language code and a number. The number can be a `Decimal`, `number`, or a string containing a valid number.

@@ -41,3 +56,3 @@

'9999999999999999999999999',
'1e30',
'1e30'
];

@@ -44,0 +59,0 @@

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