Packages by vanchoy

Name IM Last modified Is admin Publish scopes
@vanchoy false @cnpm , @ywfe_

  • arr-includes (latest: 3.0.0) Return positive value if (any of the) passed value(s) exists in array, or optionally an index
  • function-arguments (latest: 1.0.9) Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
  • common-callback-names (latest: 2.0.1) List of common callback names - callback, cb, callback_, next, done.
  • lazy-arrayify (latest: 1.0.3) We are lazy, also [lazy-cache][]d and [browserify][]-ready - just arrayify, falsey values returns empty array. In bonus with `.isArray` method.
  • is-hybrid (latest: 1.0.1) Check whether an object looks like Hybrid which is promises-a+ promise and callback api
  • unique-words (latest: 2.0.1) Returns an array of unique words, or the number of occurrences of each word in a string or list.
  • is-callback-function (latest: 1.0.1) Returns true if function is a callback. Checks its name is one of [common-callback-names][] - callback, cb, cb_, callback_, next, done, they can be customized, these are default.
  • get-fn-name (latest: 1.0.0) Get function name with strictness and correctness in mind. Also works for arrow functions and getting correct name of bounded functions. Powered by [fn-name][].
  • detect-installed (latest: 2.0.4) Checks that given package is installed globally or locally.
  • is-kindof (latest: 3.0.1) Check type of given javascript value. Support promises, generators, streams, and native types. Built on [kind-of][] lib.
  • handle-arguments (latest: 3.1.0) Get separately non-callback arguments in `.arguments` and the last argument if it [is-callback-function][] in `.callback`. It also works like [sliced][], but returns object with `.arguments` and `.callback` properties.
  • is-es6-generators (latest: 1.0.2) Check whether a value is a `Generator` or `GeneratorFunction`. The `co` way, more strict checking. Always return boolean true or false, never null or undefined.
  • kind-of-extra (latest: 1.0.4) Additional functionality to [kind-of][] type check utility. Support promises, generators, streams, errors.
  • kind-of-types (latest: 1.0.1) List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.
  • manage-arguments (latest: 1.0.0) Prevents arguments leakage - managing arguments. From Optimization killers by Petka Antonov.
  • is-typeof-error (latest: 1.1.0) Check that given value is any type of error and instanceof Error.
  • is-node-emitter (latest: 1.0.6) Strictly checks that given value is nodejs EventEmitter. It's easy, because his API is in frozen state.
  • is-real-object (latest: 1.0.2) Returns `true` if a value is any type of object, but not an array. Browserify-ready.
  • unc-path-regex (latest: 0.1.2) Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
  • tmp-file (latest: 2.0.1) Create actual and temporary file on /tmp folder
  • hybridify (latest: 2.0.0) Hybridify. Hybrids. Create sync or async function to support both promise and callback-style APIs in same time. Using the power of [relike][].
  • handle-callback (latest: 2.0.0) Make promise to have support for callback api, it returns promise in that same time.
  • is-empty-function (latest: 1.1.2) Check that given string, function or arrow function have empty body, using `parse-function`.
  • relike (latest: 1.1.5) Simple promisify async or sync function with sane defaults. Lower level than `promisify` thing. Can be used to create `promisify` method.
  • then-callback (latest: 1.0.3) Wrap a promise to allow passing callback to `.then` of given promise, also works as normal `.then`
  • promise2thunk (latest: 1.0.1) Convert (transform) promise to thunk, just like was in co@3
  • parse-function (latest: 5.6.10) Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins
  • cleanup-coverage-code (latest: 1.0.3) Cleanup ugly code added by code coverage tools during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`.
  • native-or-another (latest: 5.0.1) Guaranteed way for getting a Promise. Always native Promise if available, otherwise looks for common promise libraries and loads which is installed. Allows registering custom Promise implementation in node < 0.12 versions
  • function-regex (latest: 1.0.2) Function regex. Regular expression for matching function parts. Expose match groups for function name, arguments and function body.
  • coverage-code-regex (latest: 1.0.2) Regular expression (regex) for matching ugly code that coverage tools add during the test process. Like this one `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`
  • native-promise (latest: 1.0.1) Get native `Promise` or falsey value if not available.
  • try-catch-callback (latest: 2.0.2) try/catch block with a callback, used in [try-catch-core][]. Use it when you don't care about asyncness so much and don't want guarantees. If you care use [try-catch-core][].

© 2010 - cnpmjs.org x YWFE | Home | YWFE