Skip to content

Commit a171b0b

Browse files
committed
0.0.8
1 parent dd724b1 commit a171b0b

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,42 @@ This tiny library (🪶 1.4 KB) converts numbers to English words, supporting bo
66

77
👀 [DEMO](https://qit.tools/converters/number/to-words/)
88

9-
## 🎉 Install
9+
## CDN
1010

11-
### NPM
11+
- [unpkg](https://unpkg.com/browse/@qit.tools/number-to-words/)
12+
13+
## 🏗️ Install
14+
15+
### 🎉 NPM
1216

1317
```bash
14-
npm install number-to-words
18+
npm i @qit.tools/number-to-words
1519
```
1620

17-
### Yarn
21+
### 🧁 Bun
1822

1923
```bash
20-
yarn add number-to-words
24+
bun add @qit.tools/number-to-words
2125
```
2226

23-
### PNPM
27+
### 🌟 PNPM
2428

2529
```bash
26-
pnpm add number-to-words
30+
pnpm add @qit.tools/number-to-words
31+
```
32+
33+
### 🧶 Yarn
34+
35+
```bash
36+
yarn add @qit.tools/number-to-words
2737
```
2838

2939
## 🎓 How to use
3040

3141
### Importing the Function
3242

3343
```ts
34-
import { numberToWords } from "number-to-words";
44+
import { numberToWords } from "@qit.tools/number-to-words";
3545
```
3646

3747
### Basic Usage

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qit.tools/number-to-words",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"description": "This tiny library (🪶 1.4 KB) converts numbers to English words, supporting both general numeric values and monetary values with customizable currency and minor units.",
55
"types": "./dist/esnext/index.d.ts",
66
"exports": {
@@ -19,7 +19,6 @@
1919
"build": "npm run fmt && npm test && rollup -c rollup.browser.config.js && rollup -c rollup.esnext.config.js",
2020
"test": "vitest run",
2121
"test:watch": "vitest",
22-
"start": "ts-node index.ts",
2322
"lint": "eslint './**/*.{ts,tsx}' --fix",
2423
"fmt": "prettier --write '**/*.{ts,json}'"
2524
},

0 commit comments

Comments
 (0)