`npm i isEven`
Cross Platform Smart Fetch Ponyfill
Return true if the given number is even.
JSON.parse with context information on error
Check if stdout or stderr is interactive
type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.
Zero-dependency unicode-aware string tools
An extendable Error class that actually works, with TypeScript definition files, supporting old and new style classes and compatibility even with the oldest browsers
Check if a protocol requires a certain port number to be added to an URL.
Deprecated. Utilities for ES3, most of which have been adopted or superseded in ES5.1. Adapted from Douglas Crockford's Remedial JavaScript
Unopinionated, no-frills CLI argument parser
A replacement for process.exit that ensures stdio are fully drained before exiting.
two functions: One that returns true, one that returns false
Check if a string is a valid JavaScript expression
Map of named character references from HTML 4
Does a shallow comparison of two objects, returning false if the keys or values differ.
Because everyone loves a tryer! Conditional and repeated task invocation for node and browser.
tar for node
fast and safe way to escape and unescape &<>'" chars
Test if a finite numeric value is an even number.
This library emulates ioredis by performing all operations in-memory.
A list of all CSS color keywords.
A structuredClone polyfill
Fast Pure JavaScript MessagePack Encoder and Decoder
Pragmatic Segmenter is a sentence segmentation tool for Ruby. It allows you to split a text into an array of sentences. This gem provides 2 main benefits over other segmentation gems - 1) It works well even with ill-formatted text 2) It works for multiple languages
Lazily implements "lazy" versions of many Enumerable methods, allowing streamed processing of large (or even infinite) collections. It's equivalent to Ruby-2.x's Enumerable#lazy, but is implemented in pure Ruby, and works even in Ruby-1.8.x.
== Synopsys <code>Enumerable#filter</code> - extended <code>Enumerable#select</code> == Examples String filter (acts like <code>Enumerable#grep</code>): [1, 2, 3, 'ab'].filter(/a/) # => ['ab'] [1, 2, 3, '3'].filter('3') # => ['3'] You can pass a <code>Proc</code> or <code>Symbol</code>. Methods and blocks are allowed too: [1, 2, 3].filter(&:even?) # => [2] [1, 2, 3].filter(:even?) # => [2] [1, 2, 4].filter { |num| num.even? } # => [2, 4] <code>Enumerable#filter</code> can match against enumerable items attributes. Like this: [1, 2, 3, 4.2].filter :to_i => :even? # => [2, 4] If the block is supplied, each matching element is passed to it, and the block's result is stored in the output array. [1, 2, 4].filter(&:even?) { |n| n + 1 } # => [3, 5] <code>Enumerable#filter</code> also accepts <code>true</code> or <code>false</code> as argument: [0, false, 2, nil].filter(true) # => [0, 2] [0, false, 2, nil].filter(false) # => [false, nil] <code>Enumerable#filter</code> also supports <code>OR</code> operator! Just pass many patterns, they will be joined together with <code>OR</code> operator. [0, 2, 3, 4].filter(:zero?, :odd?) # => [0, 3]
View helpers and defaults for LRD projects. Compatible with Rails 3.x. Don't even bother trying with Rails 2.x or before.'
Customizable 2 step setting reading for your application. First settings is retrieved from list of backends and afterwards processed by the list of resolvers to allow even more flexibility.
== Synopsys Ruby Enumerable extension. Main idea is lazy computations within enumerators. == Usage Install as a gem: sudo gem install deferred_enum This gem introduces DeferredEnumerator class: ary = [1, 2, 3, 4] deferred = ary.defer # #<DeferredEnumerator: [1, 2, 3, 4]:each> DeferredEnumerator brings some optimizations to all?, any? and none? predicates deferred.all?(&:even?) # Will stop iteration after first false-result = 1 iteration deferred.none?(&:even?) # 2 iterations deferred.any?(&:even?) # 2 iterations It also introduces lazy versions of Enumerable's #select, #map and #reject methods deferred.map { |i| i + 1 } # #<DeferredEnumerator: #<Enumerator::Generator>:each> deferred.select { |i| i.even? } # #<DeferredEnumerator: #<Enumerator::Generator>:each> deferred.reject { |i| i.odd? } # #<DeferredEnumerator: #<Enumerator::Generator>:each> So you can safely chain your filters, they won't be treated as arrays: deferred.map(&:succ).select(&:even?) # #<DeferredEnumerator: #<Enumerator::Generator>:each> You can build chains of Enumerables: deferred.concat([2]).to_a # [1, 2, 3, 4, 2] Or append elements to the end of enumerator: deferred << 2 You can even remove duplicates from enumerator, though this operation can be tough: deferred.uniq # #<DeferredEnumerator: #<Enumerator::Generator>:each> There are many other methods in DeferredEnumerator, please refer to documentation.
simple_navigation_renderers gem adds renderers for Bootstrap 2 and 3. With these renderers you will be able create any bootstrap navigation elements, such as: submenu, navbar-text, divider, header. As well as add icons to menu elements, such as: gliphicons, font-awesome icons, even custom icons. Also you have split option for main menu containing submenu.
This gem is developed in order to reduce the time needed to even start with the implementation of Analytics in iOS apps, by generating files, classes, methods & everything else that's required to call a specific event, change a user property, or even track an open screen. By calling just 2 commands, analytics init & analytics generate, all of these are generated for You from the appropriately configured JSON file.
Binary to text encoding of data is commonly used for transmission when the channel does not support binary data. Common formats are Base16 (also known as hexadecimal), Base32, and Base64. This tool allows the creation of an encoder for any power-of-2 base and alphabet, allowing even to customize the padding to be used, if any.
Wesabot is a Campfire bot framework we've been using and developing at Wesabe since not long after our inception. It started as a way to avoid parking tickets near our office ("Wes, remind me in 2 hours to move my car"), and has evolved into an essential work aid. When you enter the room, Wes greets you with a link to the point in the transcript where you last left. You can also ask him to bookmark points in the transcript, send an sms message (well, an email) to someone, or even post a tweet, among other things. His functionality is easily extendable via plugins.
= sal-tools - A library for the analyze of SAL code == SYNOPSIS This library gives the basic functionality to analyse Gupta source code. Copyright (c)2007-2011 by Michael Ehehalt Error and feature list at the end of the document == Other stuff Author:: M. Ehehalt <flynn42ryder@rubyforge.org> License:: Copyright (C) 2007, 2008, ... M. Ehehalt Released under the GNU GPL 2 license == Warranty This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Copyright (C) 2013 Kyle Richardson This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
No description provided.
No description provided.
No description provided.