Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-gitversion

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-gitversion

gulp plugin for appending git-version

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
increased by23.08%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-gitversion Build Status

gulp plugin for appending git-version

Usage

npm install gulp-gitversion --save-dev
var gitVersion = require('gulp-gitversion');

Append git version

auto detecting by extension name

If you don't specify the type, it will be decided it by file extension name.

Support type
  • js
  • css
  • html

.pipe(gitVersion());

js

.pipe(gitVersion({type:'js'}));

;
// git version: 5a0b54d81689bfd0afa30698a73e3fd92558feab
//created at: Thu May 29 2014 15:33:18 GMT+0800 (CST)

html

.pipe(gitVersion({type:'html'}))

<!-- git version: 5a0b54d81689bfd0afa30698a73e3fd92558feab -->
<!-- created at: Thu May 29 2014 15:33:18 GMT+0800 (CST) -->

css

.pipe(gitVersion({type:'css'}))

/* git version: 5a0b54d81689bfd0afa30698a73e3fd92558feab */
/* created at: Thu May 29 2014 15:33:18 GMT+0800 (CST)*/

Keywords

FAQs

Package last updated on 22 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc