Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@coffeekraken/compile-server
Advanced tools
Provide a simple rest API for compiling js, coffee, sass, scss, etc... files through a node server
Readme
Provide a simple rest API for compiling js, coffee, sass, scss, etc... files through a node server
npm install @coffeekraken/compile-server --save-dev
Define a script inside your package.json
to launch the compile server.
{
"scripts": {
"compile-server": "coffeekraken-compile-server [options]"
}
}
Launch your compile server:
npm run compile-server
Import the API into your javascript file like so:
import compileServer from '@coffeekraken/compile-server'
// make a js compilation
const myCoolJsCode = `
console.log("hello world")
`
compileServer.compile(myCoolJsCode, 'js').then((compiledCode) => {
// do something here...
});
// make a scss compilation
const myCoolScssCode = `
.hello {
.world {
background: red;
}
}
`
compileServer.compile(myCoolScssCode, 'scss').then((compiledCode) => {
// do something here...
});
To set the settings of your compile server, simply create a compile-server.config.js
file at the root of your project like so:
module.exports = {
// server port
port : 4000,
// secret used to decrypt paths etc... sended by the client
secret : null
}
We are a young collective of front-end creative developers with one goal in mind. Build tools to make every team working day life better. This is our first and only concern. All our tools are build around that purpose. All what we provide are some cool tools that you can use the way you want. These tools features cover a large scope of the front-end workflow (styleguide generation, colors/fonts management, etc...). You can use only the parts that you need and let the rest aside...
FAQs
Provide a simple rest API for compiling js, coffee, sass, scss, etc... files through a node server
The npm package @coffeekraken/compile-server receives a total of 1 weekly downloads. As such, @coffeekraken/compile-server popularity was classified as not popular.
We found that @coffeekraken/compile-server 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.