Skip to content

Commit 87c33f4

Browse files
committed
Add shim for browser.
1 parent 7471dac commit 87c33f4

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

lib/browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = FormData;

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"url": "git://github.com/felixge/node-form-data.git"
99
},
1010
"main": "./lib/form_data",
11+
"browser": "./lib/browser",
1112
"scripts": {
1213
"test": "node test/run.js"
1314
},

0 commit comments

Comments
 (0)