https://github.com/afeiship/next-data2form
Build formData by object.
https://github.com/afeiship/next-data2form
build form-data formdata next object
Last synced: 11 months ago
JSON representation
Build formData by object.
- Host: GitHub
- URL: https://github.com/afeiship/next-data2form
- Owner: afeiship
- License: mit
- Created: 2019-05-20T13:34:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-09T08:15:57.000Z (about 5 years ago)
- Last Synced: 2025-03-08T11:43:15.978Z (about 1 year ago)
- Topics: build, form-data, formdata, next, object
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-data2form
> Build formData from object.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```bash
npm install -S @jswork/next-data2form
```
## usage
```js
import '@jswork/next-data2form';
// key values
nx.data2form({
k1: 'image',
k2: 'v2'
});
```
## license
Code released under [the MIT license](https://github.com/afeiship/next-data2form/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next-data2form
[version-url]: https://npmjs.org/package/@jswork/next-data2form
[license-image]: https://img.shields.io/npm/l/@jswork/next-data2form
[license-url]: https://github.com/afeiship/next-data2form/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-data2form
[size-url]: https://github.com/afeiship/next-data2form/blob/master/dist/next-data2form.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-data2form
[download-url]: https://www.npmjs.com/package/@jswork/next-data2form