Skip to content

irfan7junior/fetch-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FETCH TS TYPE

Running fetch-type without installing

Running fetch-type without the config file

npx @irfan7junior/fetch-type -n filename.ts -f folderpath -u some_url --clip

Running fetch-type with config file

npx @irfan7junior/fetch-type -c config.json

This should be the config.json

{
  "url": "URL",
  "params": {
    "apikey": "SOMEKEY",
    "amount": 15
  },
  "folder": "src/components/@interfaces",
  "filename": "IInterface.ts",
  "clip": true
}

Running fetch-type as a dev-dependency

Create an npm script

fetch-type with-the-flags

All flags

  • -f, --folder
  • -n, --filename
  • -u, --url
  • -c, --config
  • -k, --clip

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published