Nectar of the Programming Masses

    querystring-ts

    1.0.1 • Public • Published

    querystring-ts

    Creates a querystring depending on what you input

    Examples

    import { stringify } from "querystring-ts";
    import fetch from "node-fetch";
     
    const querystring = stringify({
      src: "master",
      q: "MessageEmbed",
      force: false,
    });
    // returns: src=master&?q=MessageEmbed&?force=false

    Usages

    Parameters Type Default Optional
    query object none false
    seperator string "&" true
    equal string "=" true

    Install

    npm i querystring-ts

    DownloadsWeekly Downloads

    675

    Version

    1.0.1

    License

    GPL-3.0

    Unpacked Size

    1.86 kB

    Total Files

    6

    Last publish

    Collaborators

    • sxmurai