This project was inspired as an alternative to RunJS, a commendable project. However, the limitations of its free plan, such as the restriction to 50 runs per day, prompted us to create a more open solution.
Dev Playground is a pre-configured project over vscode
and the community version of console-ninja
, designed to provide a more open and flexible solution, free from limitations.
By leveraging your local environment and the power of vscode
and its extensions, you have complete control over your development experience. There are no restrictions on the number of runs, saving files, using external packages, managing multiple tabs, customizing themes, or installing extensions.
Clone this repository to your local environment:
git clone https://github.com/deinsoftware/dev-playground.git
Tip
Consider forking this repository to your GitHub account. This approach allows you to leverage the advantages of a Git repository, enabling you to save and manage your experiments on GitHub.
Then, run the following command to install the dependencies:
npm install
While there are several recommended extensions for this project, the only mandatory one is Console Ninja
and choose [Use free version]
.
Console Ninja supports virtually any node application (starting from node v16.15.0). Ensure that your system uses a version above with
nvm
orvolta
.
Run console-ninja
and open the **show output` tab.
Open terminal and run one of those commands:
Language | Command |
---|---|
JavaScript | npm run js <javascript file path> |
TypeScript | npm run ts <typescript file path> |
TypeScript | npm run tsx <typescript file path> |
The
ts
command executes with Node.js using the--experimental-strip-types
flag. In case of any issues,tsx
serves as an alternative to execute TypeScript.
- VS Code - Code editing redefined.
- TypeScript - JavaScript With Syntax For Types.
- Node.js - A JavaScript runtime built on Chrome's V8 JavaScript engine.
- Codeium - Free AI code completion and chat.
- console-ninja - output and runtime errors directly in your editor from.
- tsx - the easiest way to run TypeScript in Node.js
- Official
console-ninja
documentation about Universal Node applications configuration.
Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the dev-playground on GitHub.
- Camilo Martinez [Equiman]
See also the list of contributors who participated in this project.
If this project helps you, consider buying me a cup of coffee.