object-to-formdata
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "object-to-formdata", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A convenient client-side JavaScript function to create a FormData instance from the key-value pairs of an Object instance.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,4 @@ # object-to-formdata | ||
var objectToFormData = require('object-to-formdata'); | ||
objectToFormData({ /* key-value pairs */ }); | ||
var object = { /* key-value pairs (values can be primitives or objects) */ }; | ||
var formData = objectToFormData(object); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2725
9