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

@mrtujiawei/utils

Package Overview
Dependencies
Maintainers
1
Versions
600
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mrtujiawei/utils - npm Package Compare versions

Comparing version 1.4.6 to 1.4.7

2

package.json
{
"name": "@mrtujiawei/utils",
"version": "1.4.6",
"version": "1.4.7",
"description": "把自己写的工具函数打包发布到npm上",

@@ -5,0 +5,0 @@ "types": "types/index.d.ts",

@@ -12,3 +12,8 @@ # @mrtujiawei/utils #

- [utils](#utils)
- [Installing](#installing)
- [Usage](#usage)
- [note: Brower usage](#note-brower-usage)
- [note: CommonJS usage](#note-commonjs-usage)
- [note: ESModule usage](#note-esmodule-usage)
- [Example](#example)
- [Stack](#stack)

@@ -35,6 +40,57 @@ - [Queue](#queue)

## utils ##
## Installing ##
工具函数
Using npm:
```bash
$ npm install @mrtujiawei/utils
```
Using yarn:
```bash
$ yarn add @mrtujiawei/utils
```
Using unpkg CDN:
```html
<script src="https://unpkg.com/@mrtujiawei/utils/dist/utils.js"></script>
```
## Usage ##
### note: Brower usage ###
```javascript
const { Stack } = utils.Stack;
```
### note: CommonJS usage ###
```javascript
const { Stack } = require('@mrtujiawei/utils');
```
or
```javascript
const utils = require('@mrtujiawei/utils');
const Stack = utils.Stack;
```
### note: ESModule usage ###
```javascript
import { Stack } from '@mrtujiawei/utils';
```
or
```javascript
import utils from '@mrtujiawei/utils';
const Stack = utils.Stack;
```
## Example ##
使用示例
### Stack ###

@@ -41,0 +97,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc