National Public Mania

    json-to-form-data

    1.0.0 • Public • Published

    json-to-form-data

    JSON to FormData

    npm install --save json-to-form-data
    
    const jtfd = require("json-to-form-data");
     
    const jsonData = {
        bla: "123",
        list: ["456", "789"]
    };
     
    const formDataString = jtfd(jsonData);
    console.log(formDataString); //logs: bla=123&list=456&list=789

    Install

    npm i json-to-form-data

    DownloadsWeekly Downloads

    185

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • krystianity