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

@taichunmin/buffer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taichunmin/buffer

A cross platform alternative of Node buffer base on UInt8Array.

0.13.14
latest
Version published
Weekly downloads
41
51.85%
Maintainers
0
Weekly downloads
 
Created

@taichunmin/buffer

A cross platform alternative of Node buffer base on UInt8Array.

DocumentationReference

npm version jsdelivr hits Build status Coverage Status install size npm bundle size npm downloads GitHub contributors Known vulnerabilities MIT License

Getting Started

Package manager

Use npm or yarn to install the package.

# npm
npm install @taichunmin/buffer

# yarn
yarn add @taichunmin/buffer

Once the package is installed, you can import the library using import or require:

// import
import { Buffer } from '@taichunmin/buffer'

// require
const { Buffer } = require('@taichunmin/buffer')

CDN

Using jsDelivr CDN:

<!-- script -->
<script src="https://cdn.jsdelivr.net/npm/@taichunmin/buffer@0/dist/buffer.global.js"></script>
<script>
  const { Buffer } = window?.taichunmin?.buffer
</script>

<!-- module -->
<script type="module">
  import { Buffer } from 'https://cdn.jsdelivr.net/npm/@taichunmin/buffer@0/+esm'
</script>

<!-- module + async import -->
<script type="module">
  const { Buffer } = await import('https://cdn.jsdelivr.net/npm/@taichunmin/buffer@0/+esm')
</script>

FAQs

Package last updated on 20 Dec 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