Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
create-jscad-project
Advanced tools
An npm / npx starter template for JSCAD projects using Typescript and Hot Reload preview
An NPX starter template designed to kickstart your JSCAD projects using TypeScript and Hot Reload preview. This tool simplifies the process of setting up a JSCAD project, allowing you to focus on creating fully parametric CAD drawings with ease.
Please consider:
Ensure you have Node.js installed on your system to use npm
or npx
.
To create a new JSCAD project, run the following command in your terminal:
npm init jscad-project <your-project-name>
or
npx create-jscad-project <your-project-name>
This command will create a new directory with your project name, set up the folder structure, and install all the necessary dependencies.
To use a specific template, pass the --template
argument when creating a new project. For example:
npm init jscad-project <your-project-name> -- --template=screw-and-nut
To list available templates you can run:
npx create-jscad-project --list-templates
There are currently two templates available:
default
: A blank canvas for whatever project you're working on.screw-and-nut
: Contains a screw and nut for you to play with.More templates will be added soon, hopefully by contributors too!
.vscode
directory contains recommendations for helpful extensions. Please review and install them to enhance your development experience.Run and Debug
section of VSCode. This will open the drawing.ts
file, run npm run dev
, and open the preview browser.
If you are NOT using VSCode, or if you'd rather run the dev environment manually, then, after setting up your project, navigate to your project directory and start the development server:
cd <your-project-name>
npm run dev
create-jscad-project
is built upon and inspired by the capabilities of JSCAD. Here are some resources and related projects that can enhance your experience with JSCAD:
JSCAD: The core framework upon which this project is based. For more information and documentation, visit JSCAD's Github.
JSCAD Cheat Sheet: A handy guide for quick reference to JSCAD syntax and features. Perfect for beginners and experienced users alike. Check out the JSCAD Cheat Sheet.
Parametric Polysphericon Design Tutorial: Dive into a practical example of parametric design with JSCAD in this informative YouTube video by CodeDoodle. Watch the Parametric Polysphericon Design using JSCAD for insights and inspiration.
Contributions are welcome! Feel free to submit pull requests or open issues to improve create-jscad-project
.
This project is licensed under the Apache-2.0.
Happy Designing with create-jscad-project
!
FAQs
An npm / npx starter template for JSCAD projects using Typescript and Hot Reload preview
The npm package create-jscad-project receives a total of 6 weekly downloads. As such, create-jscad-project popularity was classified as not popular.
We found that create-jscad-project 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.