1.0.5 • Published 3 years ago

gooti v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

gooti

>be me

>dealing with big project with many files >have to define the same npm packages with require() in each js file >sometimes forget to include some and copy paste big chunks of require() constants from other files >finding out some of them were already there >spend hours trying to find duplicates and missing constants >die

So this is basically what fixes that. Literally just install it, then use it like so

//I'm bad at naming variables so call this literally whatever you want, at all.
let npm = require("gooti");

//Then access like so
npm.<npm package name>;

Usage:

let npm = require("gooti");

//This would be the same as require("repl"), just define gooti once in your file just access the npm from there.
console.log(npm.repl);

Notes:

  • All dependencies of all of your npm packages are also accessable, so if you installed a package and it came with some random dependency you don't have, you now have access to it.
  • All npm packages accessed with gooti have - replaced with _. So example-package would be example_package.
  • If you are unable to access an npm package then there might have been an error adding it to the registry.

License:

ISC

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago