Search results

222 packages found

Resolve the path of a module like `require.resolve()` but from the current working directory

published version 3.0.0, 6 years ago1680 dependents licensed under $MIT
148,090,956

Get the latest version of an npm package

published version 9.0.0, a year ago1382 dependents licensed under $MIT
34,918,592

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

published version 0.10.0, 9 years ago133 dependents licensed under $MIT
8,566,821

Import a module like with `require()` but from the current working directory

published version 3.0.0, 6 years ago395 dependents licensed under $MIT
16,900,781

Current Time in Nanoseconds

published version 1.0.0, 9 years ago57 dependents licensed under $ISC
6,185,653

Resolve the path of a package regardless of it having an entry point

published version 2.0.0, 6 years ago185 dependents licensed under $MIT
5,756,975

Get the package.json of the currently executing bin.

published version 1.0.1, 5 months ago3 dependents licensed under $MIT
96,310

Get working directory of process by PID - cross platform

published version 1.2.0, 6 years ago3 dependents licensed under $MIT
69,901

Attempt to resolve the absolute filepath to a file and verify that it exists.

published version 0.3.1, 9 years ago5 dependents licensed under $MIT
21,369

Get metadata about the active window and open windows (title, id, bounds, owner, URL, etc)

published version 9.2.0, 10 months ago8 dependents licensed under $MIT
19,056

Quickly get the current URL or route in Next.js client & server environments ✨

published version 1.0.3, 2 years ago1 dependents licensed under $MIT
10,421

Get the current version of your project

published version 2.0.0, 5 years ago23 dependents licensed under $MIT
7,854

Get current week number of the current year,given Date format string or Date object.

published version 1.0.7, 10 years ago8 dependents licensed under $MIT
4,656

A custom layer for leaflet to visualise arbitrary velocities

published version 2.1.4, 2 years ago8 dependents licensed under $See LICENSE in LICENSE.md
5,970

Get the current commit hash.

published version 0.3.0, 8 years ago1 dependents licensed under $MPL-2.0
4,307

Sugar code to read environment variables with default values.

published version 1.5.15, 2 years ago19 dependents licensed under $MIT
1,564

Get the current date as an Exif date format

published version 1.0.0, 7 years ago1 dependents licensed under $ISC
1,494

Get the latest version of an npm package

published version 5.1.1, 6 years ago0 dependents licensed under $MIT
1,332

Traverses up the directory tree and returns the first module found

published version 1.1.0, 6 years ago0 dependents licensed under $MIT
1,424

Calculate a date range in the past from a certain moment

published version 0.16.1, 6 years ago6 dependents licensed under $UNLICENSE
1,004