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

@wemap/rollup-plugin-arraybuffer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wemap/rollup-plugin-arraybuffer

Rollup plugin for arraybuffer

0.1.2
latest
Source
npm
Version published
Weekly downloads
434
-5.65%
Maintainers
1
Weekly downloads
 
Created
Source

npm size

@wemap/rollup-plugin-arraybuffer

🍣 A Rollup plugin which convert a binary file to a Uint8Array

Install

Using npm:

npm install @wemap/rollup-plugin-arraybuffer --save-dev

Usage

import arraybuffer from '@wemap/rollup-plugin-arraybuffer';

export default {
  input: 'src/index.js',
  output: {
    dir: 'output',
    format: 'cjs'
  },
  plugins: [arraybuffer({ include: '**/*.glb' })]
};

Options

exclude

Type: String | Array[...String]
Default: null

A minimatch pattern, or array of patterns, which specifies the files in the build the plugin should ignore. By default no files are ignored.

include

Type: String | Array[...String]
Default: null

Keywords

rollup-plugin

FAQs

Package last updated on 15 Apr 2021

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