All Projects → peakmoney → whitelister

peakmoney / whitelister

Licence: MIT license
Simple, basic filtering and validation tool for Node.js.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to whitelister

common
Metarhia Common Library
Stars: ✭ 55 (+19.57%)
Mutual labels:  utilities
shouko
Xpand the feature set of your Android!
Stars: ✭ 118 (+156.52%)
Mutual labels:  utilities
Puppy
Daily Use Utilities and Frameworks by .NET Core
Stars: ✭ 14 (-69.57%)
Mutual labels:  utilities
jsCast
📻 An Audio Streaming Application written in JavaScript
Stars: ✭ 23 (-50%)
Mutual labels:  whitelist
volder
volder is powerful Object schema validation lets you describe your data using a simple and readable schema and transform a value to match the requirements
Stars: ✭ 106 (+130.43%)
Mutual labels:  validation-library
unblock
Let's make an annoyance free, better open internet, altogether!
Stars: ✭ 67 (+45.65%)
Mutual labels:  whitelist
accomplist
ACCOMPLIST - List Compiler
Stars: ✭ 51 (+10.87%)
Mutual labels:  whitelist
NCoVUtils
Utility functions for the 2019-NCoV outbreak
Stars: ✭ 27 (-41.3%)
Mutual labels:  utilities
definition
Simple and composable validation and coercion of data structures
Stars: ✭ 15 (-67.39%)
Mutual labels:  validation-library
vayder
Easy and concise validations for Express routes
Stars: ✭ 26 (-43.48%)
Mutual labels:  validation-library
national-code
Simple implementation of Iranian national code validation
Stars: ✭ 31 (-32.61%)
Mutual labels:  validation-library
table2ascii
Python library for converting lists to fancy ASCII tables for displaying in the terminal and on Discord
Stars: ✭ 31 (-32.61%)
Mutual labels:  utilities
TestNG-Foundation
TestNG Foundation is a lightweight collection of TestNG listeners, interfaces, and static utility classes that supplement and augment the functionality provided by the TestNG API.
Stars: ✭ 12 (-73.91%)
Mutual labels:  parameters
elixir-utilities-web
Utilties for the Developer. Regex, HTTP echo. Diffing
Stars: ✭ 36 (-21.74%)
Mutual labels:  utilities
microlibs-scala
No description or website provided.
Stars: ✭ 24 (-47.83%)
Mutual labels:  utilities
limit login to ip
nextcloud app that lets you Limit login to IP ranges
Stars: ✭ 20 (-56.52%)
Mutual labels:  whitelist
OrganizeMediaFiles
a collection of Python scripts that help you organize media files into a directory tree "year/month" based on metadata , using exiftool
Stars: ✭ 24 (-47.83%)
Mutual labels:  utilities
AntiBot
Lightweight BungeeCord plugin that aims to stop attacks on your server quickly and efficiently.
Stars: ✭ 42 (-8.7%)
Mutual labels:  whitelist
host-flash
Updates the Linux hosts file to block access to reported bad (malicious) hosts, ad server hosts and custom set hosts. Bad hosts list freshly compiled each run from the lists released by hosts-file.net and mvps.org. Also features custom blocklist, whitelist, undo and restore options. This hosts file update program is interactive.
Stars: ✭ 14 (-69.57%)
Mutual labels:  whitelist
kitty-theme-changer
Obsolete: use "kitty +kittens themes"
Stars: ✭ 26 (-43.48%)
Mutual labels:  utilities

Whitelister

Simple, dependency-free filtering and validation tool for Node.js.

Build Status

Quick Start

Using npm:

npm i --save whitelister

In Node.js

const whitelister = require('whitelister');

const rules = {
  q: 'string',
  page: { type: 'integer', min: 1, default: 1 },
  per_page: { type: 'integer', min: 1, max: 100, default: 20 },
};

const params = { q: 'hello' };

return whitelister(rules, params);
// => { page: 1, per_page: 20, q: 'hello' };

Documentation

You can find the full documentation on the website: https://spireteam.github.io/whitelister/

License

MIT

Changelog

v0.0.5

Oct. 25, 2017

  • Ignore non-required properties with undefined values
  • Treat external errors differently than internal errors

v0.0.4

Oct. 16, 2017

  • Ensure that type is treated like other attributes
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].