Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

memo-json

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memo-json - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

30

package.json
{
"name": "memo-json",
"version": "0.1.2",
"version": "0.1.3",
"description": "",

@@ -14,18 +14,18 @@ "homepage": "https://github.com/piglovesyou/memo-json",

"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"@types/debug": "^4.1.7",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.3",
"husky": "^7.0.2",
"jest": "^27.2.4",
"prettier": "^2.4.1",
"prettier-plugin-organize-imports": "^2.3.4",
"pretty-quick": "^3.1.1",
"typescript": "^4.4.3"
"@babel/plugin-proposal-decorators": "7.15.8",
"@babel/preset-env": "7.15.8",
"@babel/preset-typescript": "7.15.0",
"@types/debug": "4.1.7",
"@types/jest": "27.0.2",
"@types/node": "16.10.3",
"husky": "7.0.2",
"jest": "27.2.4",
"prettier": "2.4.1",
"prettier-plugin-organize-imports": "2.3.4",
"pretty-quick": "3.1.1",
"typescript": "4.4.3"
},
"dependencies": {
"debug": "^4.3.2",
"make-dir": "^2.x"
"debug": "4.3.2",
"make-dir": "2.1.0"
},

@@ -32,0 +32,0 @@ "scripts": {

@@ -1,2 +0,2 @@

# memo-json
# memo-json [![Node CI](https://github.com/piglovesyou/memo-json/actions/workflows/nodejs.yml/badge.svg)](https://github.com/piglovesyou/memo-json/actions/workflows/nodejs.yml) ![npm](https://badge.fury.io/js/memo-json.svg)

@@ -29,5 +29,5 @@ Memoize functions returning JSON by caching results to disk. Useful for applications depending on external resources.

```
# ${process.env.cwd()}/${functionName}-${paramHash}.json
.memo/getRemoteData-4e6c99.json
.memo/getRemoteData-dee827.json
# ${process.cwd()}/${functionName}-${paramHash}.json
.memo/getData-4e6c99.json
.memo/getData-dee827.json
```

@@ -39,2 +39,9 @@

Available options:
- `dir` - Optional string. `".memo"` by default.
- `enable` - Optional boolean. `true` by default.
Cusomization example:
```typescript

@@ -53,3 +60,3 @@ import { createMemo } from "memo-json";

Debug logs are available when you have `DEBUG` environment.
Debug logs are available when you pass a `DEBUG` environment variable.

@@ -62,7 +69,2 @@ ```bash

Available options:
- `dir` - Optional string. `".memo"` by default.
- `enable` - Optional boolean. `true` by default.
## License

@@ -69,0 +71,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