Skip to content
/ filify Public

Accepts a js file and creates more js files. Cool for running tutorials

License

Notifications You must be signed in to change notification settings

sideris/filify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filify

What

Filify accepts a js file and creates more js files as denoted in comments. Cool for running tutorials

How

To install, either run yarn add global filify or npm install -g filify

Your code should separate each "file" by adding a new comment line with the js filename

e.g.

// file1.js
export default let a = 1

// file2.js
import a from '.file1.js'
console.log(a)

This will generate a directory filify with two files; file1.js and file2.js with the corresponding code

Why

¯\_(ツ)_/¯

About

Accepts a js file and creates more js files. Cool for running tutorials

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published