Skip to content

Weaverize/git-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git-version

Retrieve string information from Git project NodeJS

Retrieved Payload

The information retrieved as the form:

branch@commit

Only the getVersion(callback) function is exposed in the module as of now.

Example

require("git-version")(console.log);

displays

master@11a1d1db4b6952192e859ff5f499cf59d4c95ed4

Credit

Copyright (c) 2018, Weaverize SAS. All rights reserved. Contact: dev@weaverize.com.

About

Retrieve Git information from current project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published