Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

glslify-bundle

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glslify-bundle

A wrapper module for bundling glslify scripts using common functionality within the glslify module ecosystem

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
179K
decreased by-28.51%
Maintainers
1
Weekly downloads
 
Created
Source

glslify-bundle experimental

A wrapper module for bundling glslify scripts using common functionality within the glslify module ecosystem.

Normalizes the API to closely match what's seen when using glslify as a browserify transform, such that when dealing with the simple case it can be used more quickly in other modules.

Usage

NPM

bundle(cwd, options, done)

  • cwd is the working directory of any inline shaders.
  • options is an object literal, and should support any of the parameters you can use when using the browserify transform. Notably, frag and vert are optional.
  • done(err, result) is called when ready.

result.frag

The bundled fragment shader.

result.vert

The bundled vertex shader.

result.files

An array of files that were used within the bundling process.

License

MIT. See LICENSE.md for details.

Keywords

FAQs

Package last updated on 28 Jun 2014

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

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