Initial commit
[yaffs-website] / node_modules / replace-ext / README.md
1 # replace-ext [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Dependency Status][david-image]][david-url]
2
3
4 ## Information
5
6 <table>
7 <tr> 
8 <td>Package</td><td>replace-ext</td>
9 </tr>
10 <tr>
11 <td>Description</td>
12 <td>Replaces a file extension with another one</td>
13 </tr>
14 <tr>
15 <td>Node Version</td>
16 <td>>= 0.4</td>
17 </tr>
18 </table>
19
20 ## Usage
21
22 ```javascript
23 var replaceExt = require('replace-ext');
24
25 var path = '/some/dir/file.js';
26 var npath = replaceExt(path, '.coffee');
27
28 console.log(npath); // /some/dir/file.coffee
29 ```
30
31 [npm-url]: https://npmjs.org/package/replace-ext
32 [npm-image]: https://badge.fury.io/js/replace-ext.png
33
34 [travis-url]: https://travis-ci.org/wearefractal/replace-ext
35 [travis-image]: https://travis-ci.org/wearefractal/replace-ext.png?branch=master
36
37 [coveralls-url]: https://coveralls.io/r/wearefractal/replace-ext
38 [coveralls-image]: https://coveralls.io/repos/wearefractal/replace-ext/badge.png
39
40 [depstat-url]: https://david-dm.org/wearefractal/replace-ext
41 [depstat-image]: https://david-dm.org/wearefractal/replace-ext.png
42
43 [david-url]: https://david-dm.org/wearefractal/replace-ext
44 [david-image]: https://david-dm.org/wearefractal/replace-ext.png?theme=shields.io