Compare commits

..

5 Commits

Author SHA1 Message Date
878592fbc6 readme
All checks were successful
Build and test / build-and-test (18.x) (push) Successful in 12s
Build and test / build-and-test (20.x) (push) Successful in 17s
2023-08-26 18:37:46 -07:00
aa7272b0b4 add .npmignore file
Some checks failed
Build and test / build-and-test (18.x) (push) Successful in 12s
Build and test / build-and-test (20.x) (push) Failing after 42s
2023-08-26 18:28:44 -07:00
0db015e91d cleanup
All checks were successful
Build and test / build-and-test (18.x) (push) Successful in 13s
Build and test / build-and-test (20.x) (push) Successful in 11s
2023-08-26 16:12:23 -07:00
7c93618c5c publish
All checks were successful
Build and publish / build-and-publish (push) Successful in 16s
2023-08-26 16:12:10 -07:00
a609a5ad4d 0.2.0 2023-08-26 16:11:50 -07:00
4 changed files with 12 additions and 3 deletions

3
.npmignore Normal file
View File

@@ -0,0 +1,3 @@
.gitea
src
tsconfig.json

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@js/memo",
"version": "0.1.0",
"version": "0.2.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@js/memo",
"version": "0.1.0",
"version": "0.2.0",
"license": "ISC",
"devDependencies": {
"@js/types": "^0.2.1",

View File

@@ -1,6 +1,6 @@
{
"name": "@js/memo",
"version": "0.1.0",
"version": "0.2.0",
"description": "In-memory caching/memoization utilities",
"main": "build/index.js",
"types": "build/index.d.ts",

View File

@@ -6,7 +6,13 @@ In-memory caching/memoization utilities
## Install
```bash
# Update project npm config to refer to correct registry for the @js scope
echo '@js:registry=https://gitea.jbrumond.me/api/packages/js/npm/' >> ./.npmrc
npm install --save @js/memo
# optional - additional supporting typescript definitions
npm install --save-dev @js/types
```
## Usage