MCPcopy
hub / github.com/josdejong/mathjs / getVersion

Function getVersion

gulpfile.js:47–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45
46// read the version number from package.json
47function getVersion () {
48 return JSON.parse(String(fs.readFileSync('./package.json'))).version
49}
50
51// generate banner with today's date and correct version
52function createBanner () {

Callers 2

createBannerFunction · 0.85
updateVersionFileFunction · 0.85

Calls 1

parseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…