@irfan7junior/fetch-type
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @irfan7junior/fetch-type

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

48.5 kB

Total Files

29

Last publish

Collaborators

  • irfan7junior