Skip to content

jovanmilenkoski/package-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

package-reader

Install

npm install package-reader --save

Typescript

import defaultReader from "./index";
const version = defaultReader.getVersion();
console.log(version);

or

import { Reader } from "./reader";
const reader = new Reader(<path to a package.json>);
const version = reader.getVersion();
console.log(version);

About

Read package.json information with ease

Resources

Stars

Watchers

Forks

Packages

No packages published