simple script to check type
Simple type-check utility for libraries authors to prevent issues with type check of objects coming from duplicated module definitions
JS type check (TypeScript supported) functions like `isPlainObject() isArray()` etc. A simple & small integration.
"simple type check tools"
Simple type check tools.
Simple update notifier to check for npm updates for cli applications
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Simple type-check library for minimalistic sass-tests
Set of shortands of Object.prototype.toString for fast and simple type check
Package focused on simple type check to node/javascript applications
Check if a path is a file, directory, or symlink
Minimalistic update notifications for command line interfaces
Find a file or directory by walking up parent directories — Zero dependencies
[](https://www.npmjs.com/package/jsdoc-type-pratt-parser) []
Work with IANA language tags.
Relationship type checker functions for Typescript types.
An optimised way to copy'ing an object. A small and simple integration
option parsing and help generation
Node.js CORS middleware
Add the power of Simple Events to your projects. Every event has an argument with its data. Every handler can be a promise.
Check if a path exists
Common get-version-range-type shared between changeset packages
Easy autofixable import sorting
Simple module to get instance type. Like a bit more advanced version of typeof
Taipo provides a simple way to check your variables are what you think they are. With an easy to use syntax you can call a single method and pass expressive type definitions.
Simple type-checking for Ruby
Simple runtime type checking for Ruby method signatures
The Preconditions library provides a simple set of methods for checking arguments being passed into a method. Instead of writing custom checks and raising exceptions directly in your code you can use Preconditions to verify basic properties of your arguments (not-nil, satisfying a boolean expression, being of a certain type/duck-type) and raise the appropriate exception for you.
Yadriggy builds the abstract syntax tree (AST) of a method, checks its syntax and types, and runs it. When checking the syntax and types, it is treated as the code written in a domain specific language (DSL). It also provide simple DSLs for computation offloading from Ruby to C, Python, etc.
Cerealize your ActiveModel objects into flat hashes with a dead simple, yet versatile DSL, and caching and type-checking baked in. Our daily bread is to make your API faster.
Stop wrestling with complex type validations and unclear error messages. Domainic::Type brings type validation to Ruby that is both powerful and delightful to use. Build composable type constraints with crystal-clear error messages that actually tell you what went wrong. From simple type checks to complex collection validations, make your types work for you, not against you!
A collection of diverse simple utilities without much anything to do with one another. The main rationale is to reduce the time spent on boilerplate like checking whether the arguments have the right type, or introducing some basic internationalization. More detail in the README.
yae provides a simple enum class (enumerated type) implementation (Yae::Enum) that can be used to abstract a set of values. It also provides methods to check values existence in the enum and to iterate over its contents.
This gem is for printing hyperlinks in supported terminal emulators. It is a simple wrapper that abstracts the ANSI characters usually required to achieve this, which are annoying to type out. Check out the gist that inspired this gem at: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
Create and manage configuration files in Ruby for Ruby. Jeckyl can be used to create a parameters hash from a simple config file written in Ruby, having run whatever checks you want on the file to ensure the values passed in are valid. All you need to do is define a class inheriting from Jeckyl, methods for each parameter, its default, whatever checking rules are appropriate and even a comment for generating templates etc. This is then used to parse a Ruby config file and create the parameters hash. Jeckyl comes complete with a utility to check a config file against a given class and to generate a default file for you to tailor. Type 'jeckyl readme' for more information.
== Description A Rack compatible JSON-RPC2 server domain specific language (DSL) - allows JSONRPC APIs to be defined as mountable Rack applications with inline documentation, authentication and type checking. e.g. class Calculator < JSONRPC2::Interface title "JSON-RPC2 Calculator" introduction "This interface allows basic maths calculations via JSON-RPC2" auth_with JSONRPC2::BasicAuth.new({'user' => 'secretword'}) section 'Simple Ops' do desc 'Multiply two numbers' param 'a', 'Number', 'a' param 'b', 'Number', 'b' result 'Number', 'a * b' def mul args args['a'] * args['b'] end desc 'Add numbers' example "Calculate 1 + 1 = 2", :params => { 'a' => 1, 'b' => 1}, :result => 2 param 'a', 'Number', 'First number' param 'b', 'Number', 'Second number' optional 'c', 'Number', 'Third number' result 'Number', 'a + b + c' def sum args val = args['a'] + args['b'] val += args['c'] if args['c'] val end end end
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.