Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
A development tool that watches for file changes and restarts Node.js apps automatically. Supports JavaScript, MJS, EJS, and CJS files.
SmartDev is a powerful CLI tool designed to streamline and automate your development process. It offers file watching, process monitoring, performance insights, and more, while ensuring flexibility and ease of use.
smartdev rs
command.smartdev close
to gracefully exit the monitoring and process management..js
, .mjs
, .ejs
, .cjs
).To install the SmartDev package, clone the repository and install the dependencies using npm
:
npm install -g smartdev
yarn global add smartdev
pnpm add -g smartdev
Once installed, you can use the smartdev command in your terminal
Command | Description |
---|---|
smartdev [entry.js] | Starts watching for file changes and runs the specified entry point (default: index.js ). |
smartdev rs | Manually restart the application. This command only works when a readline process is active. |
smartdev close | Closes the application gracefully. Only works when a readline process is active. |
smartdev monitor | Displays a real-time system performance monitor with CPU, memory usage, and system uptime. Requires a readline process to be active. |
To start SmartDev, run the following command with the entry point to your application:
smartdev <entry point>
This will start watching your project files (.js, .mjs, .ejs, .cjs) for changes. When a change is detected, SmartDev will automatically restart the application for you.
If no entry point is specified, SmartDev will default to index.js.
While SmartDev is running, you can manually restart the application by typing:
smartdev rs
This command is useful when you need to manually trigger a restart without waiting for a file change. Note that the command will only work when a readline process is active, meaning SmartDev is already running.
You can monitor your system’s performance in real time by typing the following command:
smartdev monitor
This command will display:
Hey there, awesome developer! 😄
Thank you so much for using SmartDev! I hope it makes your coding journey smoother and a whole lot more fun. Whether you're restarting your app, monitoring system performance, or just kicking back while SmartDev does all the file watching magic, I’m sure you’re building something incredible! 💻✨
If you ever have any feedback, questions, or just want to share your project, don’t hesitate to reach out. I’d love to hear from you! Dm: i._.become_a_devil on Discord
Happy coding and may your terminal always be stylish! 🎉
Stay awesome!
The SkyRising Team 💚
SmartDev License Copyright (C) 2024 i._.become_a_devil
Permission is hereby granted to any person obtaining a copy of this software to use the software without restriction, including the rights to run the software for personal and commercial use, subject to the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FAQs
A development tool that watches for file changes and restarts Node.js apps automatically. Supports JavaScript, MJS, EJS, and CJS files.
The npm package smartdev receives a total of 5 weekly downloads. As such, smartdev popularity was classified as not popular.
We found that smartdev demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.