npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "either" 的结果(共 20 个)
native-or-bluebird

use either the native Promise or Bluebird

MIT
tasklist

Wrapper for the Windows `tasklist` command. Returns a list of apps and services with their Process ID (PID) for all tasks running on either a local or a remote computer.

MIT
run-async

Utility method to run function either synchronously or asynchronously using the common `this.async()` style.

MIT
call-me-maybe

Let your JS API users either give you a callback or receive a promise

MIT
fs-exists-sync

Drop-in replacement for `fs.existsSync` with zero dependencies. Other libs I found either have crucial differences from fs.existsSync, or unnecessary dependencies. See README.md for more info.

MIT
package.json

Get the package.json content either from npm or from a git repository.

MIT
glsl-token-assignments

Take an array of GLSL tokens and determine which tokens are either assignments or variable declarations.

MIT
window-or-global

Use either the window object in the browser or the global object in node.

MIT
config-file

Find and load a YAML or JSON config file (like .jshintrc, package.json, bower.json etc) from either a local project, installed npm module, or the user's home directory.

MIT
babel-run-async

Utility method to run function either synchronously or asynchronously using the common `this.async()` style.

MIT
data.either

A monad for disjunctions. (e.g.: computations that may fail)

MIT
@kwsites/file-exists

Synchronous validation of a path existing either as a file or as a directory.

MIT
http-https-agent

Get either a HTTP or HTTPS agent depending on protocol

MIT
fs-walker

Recursively walk through the filesystem, searching for files and directories, either async or synchronous while optionally filtering.

is2

A type checking library where each exported function returns either true or false and does not throw. Also added tests.

MIT
define-accessor-property

Define an accessor property on an object. Will either throw, or fall back to assignment in loose mode, in an engine without descriptors.

MIT
generate

Command line tool and developer framework for scaffolding out new GitHub projects. Generate offers the robustness and configurability of Yeoman, the expressiveness and simplicity of Slush, and more powerful flow control and composability than either.

MIT
typeof-article

Get the native JavaScript type of a value, preceded by the appropriate indefinite article (either `a` or `an`), for use in error messages.

MIT