mattdesl

mattdesl/require-package-name

gets the package name for a require statement

JavaScript
11
2
MIT License

This JavaScript library extracts the base package name from a module path in a require statement, handling both scoped and unscoped packages. It's designed for developers working with Node.js modules who need to programmatically determine package names from require paths, such as in build tools or code analysis utilities.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

mattdesl's profile
mattdesl
6 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet