Displaying 1 to 20 from 34 results

react-values - A set of tiny React components for handling state with render props.

  •    Javascript

A set of tiny, composable React components for handling state with render props. It does this using a small render-prop-based API that exposes helpful transforms like toggle, increment, filter, etc. depending on the type of value, all based on JavaScripts native value types...

Nanocalc - Lightweight Scientific Calculator

  •    C++

Nanocalc - Lightweight Scientific Calculator is a simple to use, easy to integrate and extremely efficient and fast mathematical expression parsing and evaluation engine. The parsing engine supports various kinds of functional, logic processing semantics and is very easily ext...




p-wait-for - Wait for a condition to be true

  •    Javascript

Can be useful for polling.Returns a Promise that resolves when condition returns true. Rejects if condition throws or returns a Promise that rejects.

boolean2 - Boolean2 is a Ruby constant that is an ancestor of true and false.

  •    Ruby

Next time before you define a global Boolean constant, which might break other libraries, consider to just go with this bare-bones approach instead. Copyright (C) 2015 Jan Lelis http://janlelis.com. Released under the MIT license.

dotenv-parse-variables - Parse dotenv files for Boolean, Array, and Number variable types, built for Lad

  •    Javascript

Parse dotenv files for Boolean, Array, and Number variable types, built for CrocodileJS.After using this plugin, the environment variables are parsed to their proper types.


argvments - Parse command line arguments

  •    Javascript

If you're looking to use this in a CLI app, you probably want meow instead.Arguments to parse.

polyclip - Martinez polygon boolean operations (a work in progress)

  •    HTML

Crazy fast polygon boolean operations in JS using Martinez algorithm. A work in progress.

verdict.js - Javascript functional rule evaluation. Core of a rules engine.

  •    Javascript

Javascript condition evaluator. Rewritten from the ground up from the original verdict, cleaner interface inspired from ruler by Garrett Johnson. Adds nesting and "any" vs "all" composite capabilities. Browser-friendly. The segmentation tree capabilities have been dropped and may be available in a separate module with this as a dependency, but are not baked in. For now.

martinez - Martinez-Rueda polygon clipping algorithm, does boolean operation on polygons (multipolygons, polygons with holes etc): intersection, union, difference, xor

  •    Javascript

The algorithm is specifically fast and capable of working with polygons of all types: multipolygons (without cascading), polygons with holes, self-intersecting polygons and degenerate polygons with overlapping edges. The algorithm of Matrinez et al. was extended to work with multipolygons without cascading.

bit_settings - BitSettings is a plugin for ActiveRecord that transform a column of your model in a set of boolean settings

  •    Ruby

BitSettings is a plugin for ActiveRecord that transform a column of your model in a set of boolean settings. You can have up to 32 boolean values stored in a single database column. The max unsigned integer in 4 bytes is 2^32-1 = 4294967295 so with a column you can have max 32 settings. If you want that the default value of your settings is 1 (true) set the default value of the column to 2^32-1.

has-value - Returns true if a value exists, false if empty

  •    Javascript

Returns true if a value exists, false if empty. Works with deeply nested values using object paths. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

has-values - Returns true if any values exist, false if empty

  •    Javascript

Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

is-primitive - Is the typeof value a javascript primitive?

  •    Javascript

Returns true if the value is a primitive. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.