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.
internet internet-connection nodejs browser connectivity detect network online ping reachability offline is-online connected is has hostname hostnames dns socket reachable accessibleCheck if the internet connection is up
nodejs cli cli-app connectivity detect internet internet-connection network online ping reachability browser offline is-online connected is has hostname hostnames dns socket reachable accessibleWorks in Node.js and the browser (with browserify).The Node.js version will do a TCP handshake with the target's port. It attempts to detect cases where a router redirects the request to itself.
nodejs browser reachability connectivity online detect network internet ping offline connected is has reachable server host accessible socketCheck if a JavaScript environment has a DOM
browsers dom js env environment has detect checkReturns true if a value exists, false if empty. Works with deeply nested values using object paths. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.
object dot-notation property value check util microlib array boolean deep empty function has hasown is-empty nested null number object-path properties string typeReturns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.
array boolean empty find function has hasown js key keys node.js null number object properties property string type util utilities utility value valuesCreate a matching function from a glob pattern, regex, string, array, object or function. See the release history to learn about breaking changes in the v1.0.0 release.
match glob-pattern test any array contains expression function glob has is matcher matches matching minimatch multimatch object pattern patterns regex regexp regular value where wildcardRecursively omit empty properties from an object. Omits empty objects, arrays, strings or zero. This document was generated by verb, please don't edit directly. Any changes to the readme must be made in .verb.md. See Building Docs.
omit remove object keys empty utility clear delete find has hasown js key node node-js properties property util utilities valueSimple API for managing options in JavaScript applications. Create a new instance of Options.
cache options option config settings configuration defaults get set add boolean default define disable disabled emit enable enabled event false fillin has is listener listeners merge off once opt opts remove true visitCreate nested values and any intermediaries using dot notation ('a.b.c') paths. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.
dot-prop dot-notation set get value object path nested val node object-path getobject deep-property lodash set-deep bury deep-get-set deep-object deep-set deep-set-in deephas dot2val es5-dot-prop getsetdeep has hasown key keys lodash.set notation object-path-set object-set prop properties property props set-deep-prop set-nested-prop setvalue valuesBasic object cache with get, set, del, and has methods for node.js/javascript projects. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.
cache object store data config dot-notation node nodejs inherit extend emit base get has hash hasown setReturn true if a file path contains the given path. As of v1.0.0, this library no longer uses regex for matching. Please do not hesitate to report any issues or regressiosn.
path filepath file-path contains includes matches match directory dirname exec ext extname file fp has regex testEasily persist and load config data. No dependencies. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.
config stort persist conf data store cache json nodejs app config-store configstore defaults get has has-own hash local object options own save set storage union writeExpand a string into a JavaScript object using a simple notation. Use the CLI or as a node.js lib. Also see collapse-object, for doing the reverse of this library.
object expand get has hasown key keys nested notation prop properties property props set value values
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.