Pinned Repositories
2
[Node.js] Type Conversion Library: Numbers, Strings, Arrays, Maps, Objects, and Iterators.
api
Lets you create REST APIs using PHP classes to represent API endpoints.
class-chain
[Node.js] Returns an object’s class and its ancestors.
conscript.js
The JavaScript parser for the Conscript condition-scripting language.
fraction
A PHP class that represents a fraction. Supports conversion to/from floats, mathematical operations, negative fractions, and Unicode stringification.
hash
A simple PHP 7.0+ library for comparing hashes and generating tokens. Includes Doctrine types for efficient database storage and retrieval.
hebrew
A JSON file of Hebrew character names and Unicode points.
is-instance-of
[Node.js] Like instanceof, but uses class name strings.
kget
[Node.js] Uses one or more keys to retrieve a value from a Map, Object, or other collection. Supports nesting, loose key matching, and more.
map8
The most feature-rich drop-in Map replacement ever. Supports sorting, nested layers, customizable loose key comparison, multiple values per key, value time-to-live expiration, and much more.
lamansky's Repositories
lamansky/conscript.js
The JavaScript parser for the Conscript condition-scripting language.
lamansky/fraction
A PHP class that represents a fraction. Supports conversion to/from floats, mathematical operations, negative fractions, and Unicode stringification.
lamansky/2
[Node.js] Type Conversion Library: Numbers, Strings, Arrays, Maps, Objects, and Iterators.
lamansky/is-instance-of
[Node.js] Like instanceof, but uses class name strings.
lamansky/secure-shuffle
Reorders array elements using cryptographically-secure randomization.
lamansky/api
Lets you create REST APIs using PHP classes to represent API endpoints.
lamansky/kget
[Node.js] Uses one or more keys to retrieve a value from a Map, Object, or other collection. Supports nesting, loose key matching, and more.
lamansky/adventofcode2020
Solutions for the Advent of Code 2020 challenge
lamansky/catholic
Catholic liturgical calendar data
lamansky/copy-own
[Node.js] Copies an object’s own properties to another object.
lamansky/def-props
[Node.js] Defines multiple object properties all at once, optionally with shared settings.
lamansky/doctrine
A collection of classes useful in almost any project that uses the Doctrine ORM.
lamansky/efn
[Node.js] Extracts a Function. Gets an object method while preserving its binding.
lamansky/entries-array
[Node.js] Returns an array of the key-value pairs of an Object, Map, Array, or Typed Array.
lamansky/entries-iterator
[Node.js] Returns an iterator of the key-value pairs of an Object, Map, Array, or Typed Array.
lamansky/errate
[Node.js] Converts a value into an Error of the specified type.
lamansky/es-compat
Check JavaScript code compatibility with target runtime environments
lamansky/map
An iterable key-value collection class for PHP.
lamansky/map-map
[Node.js] Applies a callback to each key-value pair of a Map or Object.
lamansky/mq
A library of media query mixins for Sass.
lamansky/new-object
[Node.js] Creates an object from an array of entries.
lamansky/otherwise
[Node.js] Executes fallback behavior if a function was unsuccessful.
lamansky/parser-factory
Constructs a custom string parser, for times when you need something more procedural than regex.
lamansky/pfn
[Node.js] Possible Function. Wraps what might be a function, with fallback behavior in case it’s not. Perfect for use in functions that accept optional callback arguments.
lamansky/phpcs
An opinionated PHP code standard that mostly tries to make sure your PHP doesn’t look too different from other languages in your project.
lamansky/random-password
Uses cryptographically-secure randomization to generate a password of a given length from given sets of characters.
lamansky/sbo
Support the Bind Operator. Converts value::yourFunction(arg) to yourFunction(value, arg)—but lets your function support either.
lamansky/styles
A small library of commonly-used stylesheet rules, packaged as a Sass module.
lamansky/trim-apply
[Node.js] Drops undefined arguments from the end of a function call.
lamansky/trim-call
[Node.js] Drops undefined arguments from the end of a function call.