Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

glslify-client

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

glslify-client

Convenience wrapper for handling glslify on the client, minimising the amount of requests to glslify-deps

Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
7
600%
Maintainers
1
Weekly downloads
 
Created
Source

glslify-client

experimental

Convenience wrapper for handling glslify on the client, minimising the amount of requests to glslify-deps.

Usage

NPM

getSource = Client(getTree)

Creates a new getSource function.

getTree(source, done) should be a function that takes a single GLSL source string, and calls done(err, deps) with the dependency list retrieved from glslify-deps.

getSource(source, done)

Given a single GLSL source string, retrieves the dependency tree (if required) and calls done(null, bundledSource) with the resulting bundled GLSL file.

Contributing

See stackgl/contributing for details.

License

MIT. See LICENSE.md for details.

Keywords

ecosystem:stackgl

FAQs

Package last updated on 14 Mar 2015

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