version
Return the version number of isomorphic-git
param | type [= default] | description |
---|---|---|
return | string | the version string taken from package.json at publication time |
I don't know why you might need this. I added it just so I could check that I was getting the correct version of the library and not a cached version.
Example Code:
console.log(git.version())
Tip: If you need a clean slate, expand and run this snippet to clean up the file system.
window.fs = new LightningFS('fs', { wipe: true })
window.pfs = window.fs.promises
console.log('done')