Displaying 1 to 9 from 9 results

query-string - Parse and stringify URL query strings

  •    Javascript

🔥 Want to strengthen your core JavaScript skills and master ES6? I would personally recommend this awesome ES6 course by Wes Bos. You might also like his React course.Parse a query string into an object. Leading ? or # are ignored, so you can pass location.search or location.hash directly.

change-case - Convert strings between camelCase, PascalCase, Title Case, snake_case and more

  •    Javascript

Convert strings between camelCase, PascalCase, Title Case, snake_case, lowercase, UPPERCASE, CONSTANT_CASE and more. All methods support Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

param-case - Param case a string in JavaScript

  •    Javascript

Param case a string. Supports Unicode (non-ASCII characters) and non-string entities, such as objects with a toString property, numbers and booleans. Empty values (null and undefined) will result in an empty string.

parambulator - A simple way to generate nice error messages for named parameters

  •    Javascript

A simple way to generate nice error messages for named parameters. This module is used by the Seneca framework for input validation.




koa-strong-params - Rails-style implementation of strong parameters for Koa

  •    Javascript

Rails-style implementation of strong parameters for Koa. The middleware adds the this.params object to the Koa context which returns an object, built from query string and request body data. The returned object has some useful methods allows for data requiring and filtering. You should consider using koa-qs and koa-bodyparser packages together with koa-strong-params.

qss - A tiny (222b) browser utility for stringifying a query Object.

  •    Javascript

A tiny (222b) browser utility for stringifying a query Object. You should only consider using this within a browser context since Node's built-in querystring.stringify is much faster and should be used in a Node environment! An ideal use case is serializing a query object before an API request is sent.

bodymen - Body parser middleware for MongoDB, Express and Nodejs (MEN)

  •    Javascript

Bodymen works similarly to Querymen and has almost the same functionality, expect it formats, validates and parses request body instead of querystrings. Refer to Querymen's readme to find out more. Bodymen allows you to define a schema to control the fields sent through the request body.


querymen - Querystring parser middleware for MongoDB, Express and Nodejs (MEN)

  •    Javascript

Querymen has a default schema to handle pagination. This is the most simple and common usage. When user requests /posts?q=term, querymen parses it to {keywords: /term/i}. It was designed to work with mongoose-keywords plugin, which adds a keywords field to schemas (check that out).