1.1.0 • Published 2 years ago

get-own-version v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

NPM: get-own-version

This is a small typescript library (published to npm) to get the current version from own package.json file.

Code Example

TypeScript:

import {getVersion} from "get-own-version";

// get version in major.minor.patch format
const myVersion = await getVersion();

Javascript:

const getVersion = require("get-own-version");
const myVersion = await getVersion();
1.1.0

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago