Socket
Book a DemoInstallSign in
Socket

sandy

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sandy

Upload plunks to various sandboxing sites

latest
Source
npmnpm
Version
0.6.1
Version published
Maintainers
2
Created
Source

Sandy

Upload code snippets to various sandboxes.

API

var example = Sandy({
    dependencies: [
        'test.js',
        'test.css'
    ],
    html: {
        content: '<b>TEST</b>'
    },
    js: {
        content: 'alert(\'!\')'
    },
    css: {
        content: 'b {border: 1px solid pink;}'
    }
});

See the test page for a demo.

Development

Run npm install and then to build the dist files npm run prepublish.

External contributions

If you would like to contribute to this, please sign the CLA

FAQs

Package last updated on 19 Sep 2017

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