@phensley/plurals
Advanced tools
Comparing version 1.0.7 to 1.0.8
{ | ||
"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 @@ |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
191003
98
+ Added@phensley/decimal@1.0.8(transitive)
+ Addedtslib@1.14.1(transitive)
- Removed@phensley/decimal@1.0.7(transitive)
- Removedtslib@1.11.1(transitive)
Updated@phensley/decimal@1.0.8
Updatedtslib@^1.11.1