1.0.0-alpha.0 • Published 6 years ago
@amio/import-json v1.0.0-alpha.0
import-json
Dynamically import json file in an ES Module manner.
Usage
import importJSON from '@amio/json-import'
importJSON('path/to/a.json').then(
obj => {/* ... */},
err => {/* ... */}
)
License
ISC @ Amio
1.0.0-alpha.0
6 years ago