Noiseless Peaceful Morning

    stringquery

    1.0.8 • Public • Published

    Install

    npm install stringquery --save

    Usage

    
      const querySearch = require("stringquery");
    
      querySearch("?status=APPROVED&page=1&limit=20"); 
      // > { limit: "10", page:"1", status:"APPROVED" }
    
    
    
      const obj = querySearch("?status=APPROVED&page=1limit=20");  
      // > { limit: "10", page:"1",   status:"APPROVED" }
    
    
      // obj.status
      // obj.page
      // obj.limit
    
    
    
    
      OR
    
      import querySearch from "stringquery";
    
      querySearch("?status=APPROVED&page=1&limit=20"); 
      // > { limit: "10", page:"1", status:"APPROVED" }
    
    
    
      const obj = querySearch("?status=APPROVED&page=1&limit=20"); 
      // > { limit: "10", page:"1", status:"APPROVED"   }
    
    
      // obj.status
      // obj.page
      // obj.limit
    
    

    Github: https://github.com/accimeesterlin/query-search

    License

    MIT

    Install

    npm i stringquery

    DownloadsWeekly Downloads

    1,831

    Version

    1.0.8

    License

    MIT

    Unpacked Size

    4.25 kB

    Total Files

    5

    Last publish

    Collaborators

    • accimeesterlin