Skip to content

Commit 55e5154

Browse files
committed
add link to npm
add package-lock bump version
1 parent 944573e commit 55e5154

File tree

5 files changed

+19
-3
lines changed

5 files changed

+19
-3
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
ignored
1+
ignored
2+
node_modules

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ This library provides a simple utility to transform any function into a tail-rec
1212

1313
## Install
1414

15+
[npm package](https://www.npmjs.com/package/@xtao-org/tailrec.js):
16+
1517
```
1618
npm i @xtao-org/tailrec.js
1719
```

package-lock.json

Lines changed: 13 additions & 0 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "module",
33
"name": "@xtao-org/tailrec.js",
44
"description": "Simple explicit tail call optimization in JavaScript.",
5-
"version": "1.0.2",
5+
"version": "1.0.4",
66
"main": "tailrec.js",
77
"scripts": {
88
"test": "node --test"

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ test('mutual optimized', () => {
4444

4545
assert.equal(odd(1000000), false)
4646
assert.equal(even(1000000), true)
47-
})
47+
})

0 commit comments

Comments
 (0)