<commit_before># gulp-assets-version-replace  [![Build Status](https://travis-ci.org/bammoo/gulp-assets-version-replace.svg?branch=master)](https://travis-ci.org/bammoo/gulp-assets-version-replace) [![npm version](https://badge.fury.io/js/gulp-assets-version-replace.svg)](http://badge.fury.io/js/gulp-assets-version-replace)

[Grunt version is here](https://www.npmjs.com/package/grunt-assets-version-replace)

[中文文档](README-cn.md)


> Gulp plugin for managing version of assets, easy to build new version to commit and deploy.


## Features

- Generate new file for js,css etc. based on md5 of file contents
- Create new version only for changed assets
- Auto replace versioned assets in template files, like php, python Django, Expressjs ejs and etc.
  

## Examples


#### 1. File structure
<commit_msg>Update feature description<commit_after># gulp-assets-version-replace  [![Build Status](https://travis-ci.org/bammoo/gulp-assets-version-replace.svg?branch=master)](https://travis-ci.org/bammoo/gulp-assets-version-replace) [![npm version](https://badge.fury.io/js/gulp-assets-version-replace.svg)](http://badge.fury.io/js/gulp-assets-version-replace)

[Grunt version is here](https://www.npmjs.com/package/grunt-assets-version-replace)

[中文文档](README-cn.md)


> Gulp plugin for managing version of assets, easy to build new version to commit and deploy.


## Features

- Generate new version for changed files based on md5 of file contents
- Replacing version string in template files, like php, python Django, Expressjs ejs and etc.
  

## Examples


#### 1. File structure

{'fraction_non_alphanumeric': 0.13716814159292035, 'fraction_numerical': 0.0025284450063211127, 'mean_word_length': 4.573943661971831, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2782436', 'n_tokens_mistral': 527, 'n_tokens_neox': 509, 'n_words': 126}