Skip to content

dolchi21/file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# INSTALL
npm i @dolchi21/file
// Import
const file = require('@dolchi21/file')
// Write a file
const movies = [
    { title: "Weekend at Bernie's" },
    { title: "Det sjunde inseglet" }
]
await file('movies.json', movies)
// Read a file
const movies = await file('movies.json')
movies[0].title // Weekend at Bernie's
movies[1].title // Det sjunde inseglet

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published