Security News
How Threat Actors are Abusing GitHub’s File Upload Feature to Host Malware
GitHub is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
micro-dev
Advanced tools
Readme
This command line interface provides a belt full of tools that make building microservices using micro a breeze! It's only meant to be used in development, not in production (that's where micro comes in).
stdout
Error
object if any exceptions are thrownImportant: This tool is only meant to be used in development. In production, you should use micro, which is much lighter and faster (and also comes without the belt of tools used when developing microservices).
When preparing your development environment, firstly install micro-dev
:
npm install --save-dev micro-dev
Note: You'll need at least Node.js v7.6.0 to run micro-dev
.
Next, add a new script
property below micro
inside package.json
:
"scripts": {
"start": "micro",
"dev": "micro-dev"
}
As the final step, start the development server like this:
npm run dev
The package can be used in conjunction with the Node.js inspector like this:
"scripts": {
"inspect": "node --inspect node_modules/.bin/micro-dev"
}
As the final step, start the development server like this:
npm run inspect
cd micro-dev
npm link
Inside the project where you want to test your clone of the package, you can now either use npm link micro-dev
to link the cloned source to your project's local dependencies or run micro-dev
right in your terminal.
FAQs
This command line interface provides a belt full of tools that make building microservices using [micro](https://github.com/vercel/micro) a breeze! It's only meant to be used in development, **not in production** (that's where [micro](https://github.com/v
The npm package micro-dev receives a total of 1,550 weekly downloads. As such, micro-dev popularity was classified as popular.
We found that micro-dev 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 is susceptible to a CDN flaw that allows attackers to host malware on any public repository.
Security News
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.