
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Stone is a unique static server that can be used during development, deployment and runtime.
Stone is a unique static server that can be used during development, deployment and runtime.
stone = new Stone()
stone.start()
# If you go to `http://localhost:8888/myFile.css`,
# it would load the `./myFile.styl` file, compile it
# and serve it.
stone.on '*.css', [
Stone.loadFile '*.styl'
Stone.compileStylFile()
]
# To build all your static assets, simply
# run `stone.build()`.
# In this case *Stone* loads the `./myFile.styl` file,
# compiles it and outputs it as `./myFile.css`
# to the `./build` directory.
stone.build './build'
# If you want to upload the files to *(let's say)*
# S3, you can do it the following way.
stone.build './build', [
Stone.uploadBuild
bucket 'assets'
credentials:
accessKeyId: 'foo'
secretAccessKey: 'bar'
]
# In runtime, you can use `getScriptTag` to insert
# a `<script>` tag into a HTML template. Returns *(e.g.)*
# `<script src="...com/assets/myFile-aa8fc5808796304b.css">`.
stone.getScriptTag '/myFile.css'
# There are plenty more functions that you
# can use in runtime.
FAQs
Stone is a unique static server that can be used during development, deployment and runtime.
The npm package stone receives a total of 1 weekly downloads. As such, stone popularity was classified as not popular.
We found that stone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.