@theopenweb/require-json

1.0.0 • Public • Published

Description

Synchronous require JSON loading similar to Node.js.

Usage

npm install @theopenweb/require-json
import requireJSON from './index.js'
const json = requireJSON('./demo.json')

Test / Run server

npx http-server ./

JQuery is used for test dev dependency. OK to update if causes no problems in test.

Package Sidebar

Install

npm i @theopenweb/require-json

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.16 kB

Total Files

6

Last publish

Collaborators

  • theopenweb_jp