You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version 2 is a breaking change from 1.x as the semver implies. Specifically:
13
-
14
-
*`lookup()` renamed to `getType()`
15
-
*`extension()` renamed to `getExtension()`
16
-
*`charset()` and `load()` methods have been removed
17
-
18
-
If you prefer the legacy version of this module please `npm install mime@^1`. Version 1 docs may be found [here](https://github.com/broofa/mime/tree/v1.4.0).
19
-
20
10
## Install
21
11
22
12
### NPM
@@ -28,20 +18,21 @@ npm install mime
28
18
29
19
It is recommended that you use a bundler such as
30
20
[webpack](https://webpack.github.io/) or [browserify](http://browserify.org/) to
31
-
package your code. However, browser-ready versions are available via wzrd.in.
Version 2 is a breaking change from 1.x as the semver implies. Specifically:
13
-
14
-
*`lookup()` renamed to `getType()`
15
-
*`extension()` renamed to `getExtension()`
16
-
*`charset()` and `load()` methods have been removed
17
-
18
-
If you prefer the legacy version of this module please `npm install mime@^1`. Version 1 docs may be found [here](https://github.com/broofa/mime/tree/v1.4.0).
19
-
20
10
## Install
21
11
22
12
### NPM
@@ -28,20 +18,21 @@ npm install mime
28
18
29
19
It is recommended that you use a bundler such as
30
20
[webpack](https://webpack.github.io/) or [browserify](http://browserify.org/) to
31
-
package your code. However, browser-ready versions are available via wzrd.in.
0 commit comments