1.7.2 • Published 4 years ago

@chill_coder.shaur31/package.json_loader v1.7.2

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

This Package is only usable with ESM.

Load Your objects from "package.json" easily!

all methods are: package_json.getAllObjects() : gets every Object in order of the "package.json" file. Returns Object package_json.getName() : gets the name of your project. Returns String package_json.getDescription() : gets the description of your project. Returns String package_json.getVersion() : gets the version of your project. Returns String package_json.getKeywords() : gets the keywords of your project. Returns Array package_json.getAuthor() : gets the author of your project. Returns String package_json.getLicense() : gets the license of your project. Returns String package_json.getMainFile() : gets the main file of your project. Returns String package_json means the new class which you construct from the package, see the below example for more information on doing this.

this package cannot be installed with powershell , as it shows some errors with packages whose name contain @ , most terminals/consoles support @ , but some don't.

example:

import Util from "@chill_coder.shaur31/package.json_loader";
const package_json = new Util();
console.log(package_json.getDescription()); // will return your project's description in your console/terminal, also , you can use the above methods , it's not necessary to use "getDescription()".

if you have any questions/doubts or errors, join the Discord

1.7.2

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.9

4 years ago

1.6.8

4 years ago

1.6.7

4 years ago

1.6.6

4 years ago

1.6.4

4 years ago

1.6.3

4 years ago

1.6.2

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.5.9

4 years ago

1.5.8

4 years ago

1.5.7

4 years ago

1.5.6

4 years ago

1.5.5

4 years ago

1.5.4

4 years ago

1.6.5

4 years ago

1.5.3

4 years ago

1.5.2

4 years ago

1.5.1

4 years ago

1.4.6

4 years ago

1.4.5

4 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.5.0

4 years ago

1.4.9

4 years ago

1.4.8

4 years ago

1.4.7

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago