Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

feathers-query-stringify

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-query-stringify

Flattens an nested Feathers Query and can generate a url query string or a flattened query object from it.

  • 0.1.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

feathers-query-stringify

This simple code snippet converts feathersJS query objects into an url query string that you can use to build your REST API calls.

It can handle nestes Objects as well as Arrays.

Example

import stringify from "feathers-query-stringify";

const query = {
  $limit: 10,
  $sort: {
    createdAt: -1
  }
}

const output = stringify(query);

// => "$limit=10&$sort[createdAt]=-1"

Keywords

FAQs

Package last updated on 19 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc