• Stars
    star
    10
  • Rank 1,807,489 (Top 36 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 9 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Checks that given package name is installed locally or globally. Support sync and callback api.

More Repositories

1

opensource

Delivering delightful digital solutions. Monorepo of monorepos of Open Source packages with combined ~100M/month downloads, semantically versioned following @conventional-commits. Fully powered ES Modules, @Airbnb @ESLint + @Prettier, independent & fixed versioning. Quality with @Actions, CodeQL, & Dependabot.
JavaScript
473
star
2

resources

πŸ“– Huge curated collection (archive) of links of Tech, Science, Economics, Politics, Life, Philosophy, Conferences, Videos and much more resources from everyday surfing. ⭐ Since October 21, 2017.
244
star
3

koa-better-router

❀️ Stable and lovely router for `koa`, using `path-match`. Foundation for building powerful, flexible and RESTful APIs easily.
JavaScript
89
star
4

modern-javascript-snippets

Atom & VSCode - Modern javascript snippets for better productivity with support for JavaScript, Babel, TypeScript, JSX and semicolonless code. Using StandardJS Style.
JavaScript
72
star
5

koa-rest-router

Most powerful, flexible and composable router for building enterprise RESTful APIs easily!
JavaScript
68
star
6

get-installed-path

Get locally or globally installation path of given package name.
JavaScript
41
star
7

koa-better-ratelimit

πŸš€ Smart and easy request rate limiter for your APIs built on `koa`, using `koa-ip-filter`. Support custom stores, custom ID, custom error messages and custom headers.
JavaScript
39
star
8

parse-function

(!! moved to tunnckoCore/opensource multi-package repository !!) πŸ”± Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins.
JavaScript
37
star
9

rollup-plugin-prepack

Rollup plugin for Facebook Prepack - https://prepack.io
JavaScript
32
star
10

dual-emitter

🍹 EventEmitter done right and no deps. For nodejs and the browser (>= IE8). Can emit custom or DOM events. See also the 1kb alternative `dush`
JavaScript
26
star
11

each-promise

πŸŒ€ Asynchronous control flow library for now and then. ✨ Iterate over promises, promise-returning or async/await functions in series or parallel. Works on node 0.10 if you give it a Promise.
JavaScript
26
star
12

triage-new-issues

A GitHub App, built with Probot that adds `triage` label to newly-created issues which don't have labels
JavaScript
23
star
13

koa-ip-filter

koa middleware to filter request IPs or custom ID with glob patterns, array, string, regexp or matcher function. Support custom 403 Forbidden message and custom ID.
JavaScript
23
star
14

es6-template

Easy and small template engine for the browser and nodejs.
JavaScript
21
star
15

koa-better-serve

Small, simple and correct serving of files, using `koa-send` - nothing more.
JavaScript
19
star
16

function-arguments

Get function arguments, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.
JavaScript
19
star
17

monorepo

Mono-repo including scoped and non-scoped packages, independently versioned. Managed by @Lerna and @YarnPKG. Using Jest, @ESLint, @Prettier and TypeScript through @Babel 7. Mange dependencies with @RenovateApp. Semantically versioned and automatically released on @CircleCI, following @Conventional-Commits!
TypeScript
18
star
18

hela3

🍦 Powerful software development experience. ✨
JavaScript
12
star
19

express-ip-filter

Middleware for `express` that filters IPs against glob patterns, RegExp, string or array of globs. Support custom 403 Forbidden message, blacklists, whitelists and custom ID.
JavaScript
12
star
20

prompt-promise

Sane CLI user-input (command prompt, confirm, multiline, password, select/choose) as promises, it can be used with or without co@4
JavaScript
12
star
21

parse-git-log

Parse a `git log` output of a repository into an object with useful commit data. Supports plugins, streaming, promises and callback APIs.
JavaScript
12
star
22

get-comments

πŸƒ Extract comments using @LimonJS. Comment object compatible with `acorn-extract-comments` and Esprima format. See also
JavaScript
12
star
23

xfce4-terminal-snazzy

The `sindresorhus/hyper-snazzy` theme for the `xfce4-terminal`,
11
star
24

express-better-ratelimit

Express.js request rate limiter
JavaScript
10
star
25

mukla

🦍 (WIP v0.5 and v1) Delightful & pluggable test runner, ES2017 ready! Working on and targeting Node.js v0.10. Try `asia@next`
JavaScript
10
star
26

github-generate-token

Generating Github Personal Access Token using Basic Auth username:password
JavaScript
8
star
27

ip-filter

~~(moved to `tunnckoCore/opensource` monorepo)~~ Validates valid IPs (IPv4 and IPv6) using `micromatch` - glob patterns, RegExp, string or array of globs. If match returns the IP, otherwise null.
JavaScript
8
star
28

dush-router

πŸ’« A simple regex-based router for `dush`, `base`, `minibase` and anything based on them. Works on Browser and Node.js. Can extend it to use `path-match` instead.
JavaScript
8
star
29

find-callsite

Finds the correct place where the stack trace was started, not the place where error was thrown
JavaScript
7
star
30

mich-h

πŸŽ‰ Create HAST-compliant virtual dom trees of HTML using hyperscript compatible syntax or JSX, just in ~570 bytes.
JavaScript
7
star
31

randomorg-js

Client for the JSON-RPC v1 API of Random.ORG - for Node.js and the browser, on just 70 lines. All API methods are implemented.
JavaScript
7
star
32

gitclone

Clone a Github repository programmatically. Hybrid, Async and Promise API
JavaScript
6
star
33

clean-stacktrace

Clean up error stack traces from node internals, built on `clean-stack`'s regex and `stack-utils-node-internals`. Working on node.js v0.10 and above.
JavaScript
6
star
34

github-config

Easily store or get Github config data from `.gitconfig`. Useful when you want to store your github token and test your apps without exposing it.
JavaScript
6
star
35

kudos

🌟 kudos done right - unopinionated, made simple, so simple it hurts!
JavaScript
6
star
36

ideas

πŸ““ My centralized place for ideas, thoughts and todos. Raw, PoC implementations and so on... ⭐
6
star
37

octet

πŸ‰ 1kb template engine for the browser and nodejs. Support helpers, partials and more. Used in AbsurdJS Apps.
JavaScript
6
star
38

bitcoin-connect

Derive Bitcoin Taproot address, from an Ethereum signature. For example, a signature generated by your Injected Web3 wallet through the `personal_sign` RPC call. Useful for Bitcoin Ordinals.
HTML
6
star
39

put-value

Update only existing values from an object, works with dot notation paths like `a.b.c` and support deep nesting.
JavaScript
6
star
40

is-kindof

Check type of given javascript value. Support promises, generators, streams, and native types. Thin wrapper around `kind-of` module.
JavaScript
5
star
41

javascript-charlike-snippets

My SublimeText 3 snippets. From BDD through `assert` to singleton pattern, es6 fat arrows and es6 import
5
star
42

gana-compile

Pretty small synchronous template engine built on ES2015 Template Strings. No RegExps and support for helpers and what you want. Use `gana` if you wanna async support.
JavaScript
5
star
43

ensclubs-utils

ENS clubs utilities, helpers, snapshots, and archive. Earliest snapshot from 02:40 on April 29th.
JavaScript
5
star
44

starts-with

Returns `true` if the given string or array starts with prefix using strict equality for comparisons. Using fastest implementation from http://jsperf.com/starts-with-comparing-12-implementations
JavaScript
5
star
45

arr-includes

DEPRECATED REPO!! New place at https://github.com/tunnckocore/opensource! Next release soon will be published! Return positive value if any of passed values exists in array, or optionally an index.
JavaScript
5
star
46

fs-readdir

fs.readdir done right! Support sync, async and stream API, recursiveness and filters/globs.
JavaScript
5
star
47

urlpattern-router

An isomorphic router based on URLPattern Web spec in 180 lines (including 60 lines of types, 40 lines of comments). Works for @denoland, Bun, @nodejs, @cloudflare, Browsers, or anything that has support for URLPattern.
JavaScript
5
star
48

is-installed

Checks that given package is installed locally or globally. Useful for robust resolving when you want some package - it will check first if it exists locally, then if it exists globally
JavaScript
5
star
49

all-contributors-patch

An extension that patches a bug with titles of generated emojis, by the `all-contributors-cli`. It's just impossible to handle it in another way, because of the GitHub. Basically it is just a 3 lines of code.
JavaScript
5
star
50

x-old-dotfiles

Ultimate ArchLinux Setup with LVM (probably, LUKS on it in future). Great i3 keyboard-oriented experience.
Shell
4
star
51

is-callback-function

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, those are default.
JavaScript
4
star
52

then-read-json

Read JSON file using promises
JavaScript
4
star
53

blankr

❀️ tasks, todos, ideas, streaks, WIP, etc
C++
4
star
54

xaxa

🌟 Zero-config linting, powered by few amazing unicorns πŸ¦„, AirBnB πŸ’ž & Prettier πŸŽ‰
JavaScript
4
star
55

github-clone-labels

Cloning labels from source repository to destination repository. Period.
JavaScript
4
star
56

gage

GageApp - Fast, secure, distributed, decentralized & everlasting InterPlanetary storage. An app, service, API and CLI.
4
star
57

ama

#AMA - Ask @tunnckoCore anything. Instead of sending me email use the issue tracker to send me messages or join in the Gitter.im chat
4
star
58

esmc

πŸ”₯ Modern JavaScript, today. ✨ Blazingly fast zero-config compiler/language/runtime built on @rollup, @babel + ton of optimizations, and @eslint + @prettier, with support for @flowtype and TypeScript.
JavaScript
4
star
59

on-stream-end

Handles completion and errors of any stream - readable/writable/duplex. A drop-in replacement for end-of-stream.
JavaScript
4
star
60

vinyl-filter-since

Gulp/vinyl-fs plugin, filter files that have been modified since given Date or Number.
JavaScript
4
star
61

stacktrace-metadata

Clean stack traces with sane defaults, customizable through options
JavaScript
4
star
62

assert-kindof

Check native type of the given value and throw TypeError if not okey. Expressive, elegant, behavior-driven API, good descriptive default error messages, simple and clean syntax.
JavaScript
4
star
63

is-singular

Return true if given word is in singular form like `apple`, `car`, `test` and false otherwise, never throws.
JavaScript
4
star
64

anonymize-ip

Hide last ip numbers for given ip, like `129.89.5.243` -> `129.89.x.xxx` or `79.100.175.45` to `79.100.xxx.xx`. Or replace them with custom mask.
JavaScript
4
star
65

scripts

Universal and minimalist scripts & tasks runner. Built with mono-repo in mind and for everyone from end users to @npm and @yarnpkg.
JavaScript
4
star
66

acorn-extract-comments

Extract JavaScript code (block, jsdoc style) comments from a string, using `acorn`. Optionally returns the AST and first line of code after comment - useful for parsing code context and api docs.
JavaScript
4
star
67

get-fn-name

Get function name with strictness and correctness in mind. Also works for arrow functions and getting correct name of bounded functions.
JavaScript
4
star
68

lazy-utils

Most of the used mostly everywhere utils: `extend-shallow`, `isobject`, `is-extendable` (dependency of `extend-shallow`), `isarray` and `arrayify` (using `lazy-arrayify` package), all of them `lazy-cache`d.
JavaScript
3
star
69

hasha-cli

Hashing made simple. CLI for `hasha` module. You can use also as API for `hasha`.
JavaScript
3
star
70

filter-css-properties

Filter the list of all available (possible) 178+ css2/3 properties with glob patterns
JavaScript
3
star
71

acorn-strip-comments

Strip code comments from given input string, using acorn javascript parser
JavaScript
3
star
72

is-missing

Check that given `name` or `user/repo` exists in npm registry or in github as organization/user repository.
JavaScript
3
star
73

cleanup-coverage-code

Cleanup ugly code (like this `__cov_Ejgcx$XN18CSfmeWn$f7vQ.f['2']++;`) added by code coverage tools during the test process.
JavaScript
3
star
74

flow-reporter-codeframe

⚑️ FlowType errors reporter similiar to ESLint's codeframe one πŸŽ‰
JavaScript
3
star
75

gruu

(WIP, see gruu-api) Microscopic test framework, built on Promises and ~150 SLoC. Concurrency, plugins, reporters and ES2017 ready, but works on Node.js 0.10 too!
JavaScript
3
star
76

cp-file-cli

Command line tool for copying single file, using [cp-file][] under the hood. Just because cpy-cli is too much and does not fit well in the flow.
JavaScript
3
star
77

capture-spawn

Asynchronously capturing spawn output.
JavaScript
3
star
78

is-match-ip

Matching IPs using micromatch - glob patterns, RegExp, string or array of globs.
JavaScript
3
star
79

is-emitter

🐈 Check that given value is EventEmitter, not so strict as `is-node-emitter`.
JavaScript
3
star
80

stack-utils-node-internals

An array of node internals that can be cleaned up from stack traces
JavaScript
3
star
81

start-rollup

The Rollup task for Start Runner
JavaScript
3
star
82

del-value

Delete deeply nested value from an object using dot notation like `a.b.c.x` and return the modified object if success, otherwise return original object.
JavaScript
3
star
83

clean-stacktrace-relative-paths

Meant to be used with `clean-stacktrace` as mapper function. Makes absolute paths inside stack traces to relative paths.
JavaScript
3
star
84

assertit

Thin sugar layer on top of `testit` framework, `is-kindof` and `assert`.
JavaScript
3
star
85

store-cache

Simple and flexible API for in-memory object cache store that have set, get, put, del, has and store methods. Inspired by `option-cache`, `data-store`, `map-cache` and more.
JavaScript
3
star
86

kind-of-extra

Additional functionality to `kind-of` type check utility. Support promises, generators, streams, errors.
JavaScript
3
star
87

is-ansi

Check that given string contain ANSI color codes, without CLI
JavaScript
3
star
88

mich-to-html

Tiny and naive implementation of rendering HAST-compliant virtual dom trees to HTML string, just in ~420 bytes.
JavaScript
3
star
89

koa-bel

View engine for `koa` without any deps, built to be used with `bel`. Any other engines that can be written in `.js` files would work, too. For example, js file template can just return a stream :)
JavaScript
3
star
90

apidocs-cli

Async CLI for automatically generating API docs from code comments with `helper-apidocs`
JavaScript
3
star
91

strong-predictable-software-versioning

Strong, easy and predictable, date-based software versioning. Similar to @semver
3
star
92

manage-arguments

Prevents arguments leakage - managing arguments. From Optimization killers by Petka Antonov.
JavaScript
3
star
93

npm-pkgs

List user`s npm packages from the npmjs.com website profile. API and CLI.
JavaScript
3
star
94

is-es6-generator

Check that given value is `Generator`
JavaScript
3
star
95

gulp-j140

Gulp plugin for `j140` - template engine in 140 bytes, by @jed Schmidt. Support helpers, partials and more.
JavaScript
3
star
96

is-empty-function

Check that given string, function or arrow function have empty body, using parse-function.
JavaScript
3
star
97

parse-github-short-url

Parse a github/npm shorthand (user/repo#branch or user/repo@version) URL into an object.
JavaScript
3
star
98

is-generator-function-name

Check that given value have `GeneratorFunction` name or displayName.
JavaScript
3
star
99

github-kv-storage

StorageArea implementation for GitHub, using the REST v4 API. Because everything else sucks, and I need a basic, centralized, and reliable database.
JavaScript
3
star
100

simple-get-stream

Simply wraps `simple-get` and his methods to return Response stream instead of Request stream. For example `simpleGet.get(url).pipe(process.stdout)`.
JavaScript
3
star