@bigshans/toolkit-js
v0.0.1
Published
Provide some simple and useful functions for Node development.
Downloads
5
Readme
toolkit-js (something for test)
Introduction
Here are some simple and useful functions that do not require additional dependencies.
Install
npm install @bigshans/toolkit-js
# or
yarn add @bigshans/toolkit-js
# or
pnpm add @bigshans/toolkit-js
Usage
Method 1:
const { files } = require('@bigshans/toolkit-js');
const projectFiles = files.readFileRecursive(process.cwd());
Method 2:
const { readFileRecursive } = require('@bigshans/toolkit-js');
const projectFiles = readFileRecursive(process.cwd());
Also supports typescript.