# grunt-creplace

> Copy files and folders.

Latest version **0.1.6** (published 2016-07-18) · 0 weekly downloads

## Install

```sh
npm install grunt-creplace
pnpm add grunt-creplace
yarn add grunt-creplace
bun add grunt-creplace
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2016-07-18 |
| First published | 2015-01-21 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.0 |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Bo.Cheng |
| Maintainers | nihaox1 |

## Links

- npm: https://www.npmjs.com/package/grunt-creplace
- Repository: https://github.com/nihaox1/grunt-replace
- Homepage: https://github.com/nihaox1/grunt-replace.git
- Issues: https://github.com/nihaox1/grunt-replace/issues
- npm.io page: https://npm.io/package/grunt-creplace

## Dependencies (3)

- [grunt](https://npm.io/package/grunt.md) ^0.4.0
- [clean-css](https://npm.io/package/clean-css.md) ^2.2.1
- [uglify-js](https://npm.io/package/uglify-js.md) ^2.4.15

## Recent versions

- 0.1.6 (latest) — 2016-07-18
- 0.1.5 — 2016-05-07
- 0.1.4 — 2016-05-05
- 0.1.3 — 2015-04-28
- 0.1.2 — 2015-04-09
- 0.1.1 — 2015-02-03
- 0.1.0 — 2015-01-21

## README

#grunt-contrib-creplace

> Auto concat & compress & md5 fileName for your static files

#Getting start
```
require nodejs & grunt
you can get more infomation from :
http://nodejs.org/
http://npmjs.org/
https://www.npmjs.org/package/grunt-contrib-creplace
http://www.gruntjs.org/
```

#Sample example

package.json
```js
{
    "devDependencies": {
        "grunt"                     : "~0.4.0",
        "grunt-contrib-creplace"    : "~0.1.0"
    }
}
```

Gruntfile.js
```js
module.exports = function( grunt ){
    grunt.initConfig({
        replace     : {
            files   : {
                src         : "dev/",
                dest        : "build/",
                ignoreUrl   : /.*xxxx\.com[\/|\\](.*)/
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-creplace');

    grunt.registerTask('default', ['replace']);
};
```

then  cmd like this
>grunt 

done.

#options mapping
###type "src"
your static files dir

###type "dest"
output dir 

###type "ignoreUrl"
the url we don't make md5 name for...
you can use it like array
[ /xxx/ , /aaa/ , /fsa/ ]

---
_Source: https://npm.io/package/grunt-creplace · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
