67373-npm-common
把一些常用的功能打包成npm包使用
把一些常用的功能打包成npm包使用
Babel plugin transforms import.meta in emitted CJS.
Polyfills globals like `__dirname` with modern ESM equivalents like `import.meta.dirname`
Tiny convenience wrapper around Node.js file system APIs.
Check if a string is a valid filename.
Babel plugin to replace extension of file name written in import statement and dynamic import
changes the extension of some filename to a new one
provides utilities for nodejs to be able to resolve es modules, such as providing the __dirname and __filename variables
**`cl-print`** is a lightweight and powerful npm package that enhances your console logging by automatically adding **filename** and **line number** to each log statement. With this package, debugging becomes a breeze as you can immediately see where your
crypto image name
Sanitize string for use as filename
Babel plugin to replace extension of file name written in import statement and dynamic import
文件批量重命名工具
__dirname and __filename in ESM
Create alternatives to '__dirname' and '__filename' for use with ES modules.
Alternatives to `__dirname` and `__filename` when using ES modules.
Generate a unique string (e.g. for filenames or url slugs) using an incremental counter
Print the variable with the name of the variable, the name of the function, on the line.
Print the variable with the name of the variable, the name of the function, on the line.
Babel plugin to replace extension of file name written in import statement and dynamic import