1.1.0 • Published 3 years ago

get-own-version v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

1.0.6

3 years ago

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