Displaying 1 to 20 from 108 results

generate-schema - Convert JSON Objects to MySQL Schema, JSON Schema, Mongoose Schema, Google BigQuery, or a Generic template for Swagger files, documentation, code generation, and more

  •    Javascript

Convert JSON Objects to MySQL Table Schema, JSON Schema, Mongoose Schema, ClickHouse Schema, Google BigQuery, or a Generic template for documentation, code generation, and more. Optionally, add -g to the above if you want the generate-schema command line executable.

is-online - Check if the internet connection is up

  •    Javascript

Works in Node.js and the browser (with browserify/webpack).In the browser you have navigator.onLine, but it's useless as it only tells you if there's a local connection, and not whether the internet is accessible.




t2b - A wicked-powerful text macro language for building binary files.

  •    C++

A wicked-powerful text macro language for building binary files. Supports comments, looping, Unicode, variables, conditionals, macros and recursion. TLDR; Check out example/.


path-type - Check if a path is a file, directory, or symlink

  •    Javascript

Returns a Promise for a boolean of whether the path is the checked type.Returns a boolean of whether the path is the checked type.

is-typedarray - Detect whether or not an object is a Typed Array

  •    Javascript

Detect whether or not an object is a Typed Array.Returns true when array is a Typed Array, and false when it is not.

is-type - Type checking from node core.

  •    Javascript

Type checking from node core.This basically is core-util-is but with a nicer api.

p-is-promise - Check if something is a promise

  •    Javascript

Why not is-promise? That module checks for a thenable, not an ES2015 promise. This one is stricter.You most likely don't need this. Just pass your value to Promise.resolve() and let it handle it.

is-obj - Check if a value is an object

  •    Javascript

Keep in mind that array, function, regexp, etc, are objects in JavaScript. See is-plain-obj if you want to check for plain objects.