Skip to content

Commit

Permalink
Fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mithray committed Nov 13, 2022
1 parent b028d5d commit f7b05cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,10 @@ npm install load-object

## Usage

Include with either module type:
### ES Modules

### MJS
``` node
import load from "load-object"
```
### CJS
``` node
const load = require("load-object")
import { load } from "load-object"
```

### Use Locally
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "load-object",
"version": "1.7.8",
"version": "1.7.9",
"description": "Takes a path to a file locally or remotely and loads that file into a Javascript Object.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit f7b05cb

Please sign in to comment.