New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bassist/node-utils

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bassist/node-utils

Opinionated collection of common Node.js utils by @chengpeiquan .

0.4.1
latest
Source
npm
Version published
Weekly downloads
26
-38.1%
Maintainers
0
Weekly downloads
 
Created
Source

@bassist/node-utils

GitHub stars

Opinionated collection of common Node.js utils by @chengpeiquan .

  • 🌳 Fully tree shakeable
  • 💪 Type Strong
  • ⚡ Simplify complex operations
  • 🚀 Built-in fs-extra

Note: This package is only for use in Node.js, don't use it in the browser.

Usage

With npm(or yarn, or pnpm):

npm install @bassist/node-utils

In .js / .ts or other files:

import { getPackageManagerByUserAgent } from '@bassist/node-utils'

console.log(getPackageManagerByUserAgent())
// { name: 'pnpm', version: '7.26.0' }

Documentation

See: Documentation of node-utils

About fs API, see: fs-extra .

Release Notes

Please refer to CHANGELOG for details.

License

MIT License © 2022-PRESENT chengpeiquan

Keywords

utils

FAQs

Package last updated on 30 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts