Skip to content

Commit b6f8809

Browse files
committed
Update docs
1 parent 70b3759 commit b6f8809

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ A simple [MIME][mime] type getter built on top of [Node.js][nodejs].
66
MODULE
77
---------
88

9-
**Browser version:**: `bower install mimer` or [Minified][browserminified] (amd and CommonJS ready) [Source][browsersource]
9+
**Browser version:**: [Minified][browserminified] (amd and CommonJS ready) [Source][browsersource]
1010

1111
**Node.js version:** `npm install mimer` into your project
1212

1313

1414
### Getting started
1515
```js
1616
// node and browserify
17-
var Mimer = require('mimer');
17+
const Mimer = require('mimer');
1818

1919
// amd (Require.js and etc)
2020
require('path/to/mimer', function (Mimer) {});
@@ -77,9 +77,7 @@ $ make fulltest
7777

7878
## Release notes
7979

80-
* 0.3 - Remove potential REDOS vulnerability. Big thanks to [@davisjam](https://github.com/davisjam) for the report.
81-
* 0.2 - Follow IANA RFC and full AMD and browser support
82-
* 0.1 - First release
80+
See more in [Releases section](https://github.com/data-uri/mimer/releases).
8381

8482
## License
8583

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "git://github.com/heldr/mimer.git"
1515
},
1616
"engines": {
17-
"node": ">= 4.0"
17+
"node": ">= 6.0"
1818
},
1919
"files": [
2020
"dist",

0 commit comments

Comments
 (0)