Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
coffeekraken-compile-server
Advanced tools
Provide a simple rest API for compiling js, coffee, sass, scss, etc... files through a node server
Provide a simple rest API for compiling js, coffee, sass, scss, etc... files through a node server
# using yarn
yarn add coffeekraken-compile-server --dev
# using npm
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:
# using yarn
yarn run compile-server
# usin npm
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...
});
Here's the documentation list:
This is an open source project and will ever be! You are more that welcomed to contribute to his development and make it more awesome every day. To do so, you have several possibilities:
We try to be some cool guys that build some cool tools to make our (and yours hopefully) every day life better.
The code is available under the MIT license. This mean that you can use, modify, or do whatever you want with it. This mean also that it is shipped to you for free, so don't be a hater and if you find some issues, etc... feel free to contribute instead of sharing your frustrations on social networks like an asshole...
FAQs
Provide a simple rest API for compiling js, coffee, sass, scss, etc... files through a node server
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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.