New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

starters

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

starters

> Wouldn't it be nice if we didn't have to mess around with tooling to try ideas out?

latest
npmnpm
Version
0.11.0
Version published
Maintainers
1
Created
Source

Starters

Wouldn't it be nice if we didn't have to mess around with tooling to try ideas out?

A node package that gives you the start of a new project with unit tests in many different languages.

Currently we support:

  • clojure
  • cplusplus (c++)
  • csharp
  • go
  • java
  • kotlin
  • javascript (node / js)
  • php
  • python
  • ruby
  • rust
  • scala
  • typescript (ts)

Install

$ npm install --global starters

or without installation

$ npx starters

Example

$ npx starters python
 STARTERS  Copied new python project to /private/tmp/python_project

$ cd python_project

$ tree
.
├── runTests.sh
└── starter.py

0 directories, 2 files

$ ./runTests.sh
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK

CLI

$ starters <language>

  Usage
    $ starters

  Examples
    $ starters ts
     Copied new ts project to /tmp/ts_project

How to add a new language

We'd appreciate any new language that you can provide. To do this:

  • Create a new folder under available and add your source tree.
  • Make sure a runTests.sh exists in your new folder
    • Assume the standard tools are already installed for the language
    • The programme shouldn't watch, it should run and exist cleanly
    • The user shouldn't have to do anything else to make the script pass
  • Add the language in source/supported.ts

And to test it...

  • Add the language to supported in endToEndTest.sh
  • Add any required tooling to the e2e/Dockerfile. The tests run inside this Docker container
  • Run the endToEndTest.sh and make sure it finishes

FAQs

Package last updated on 05 Dec 2021

Did you know?

Socket

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.

Install

Related posts