Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @nosplatform/create-nos-dapp with all npm packages installed. Try it out:

var createNosDapp = require("@nosplatform/create-nos-dapp")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@nosplatform/create-nos-dapp v0.2.3

Create a dapp on the nOS platform

create-nos-dapp

This is a CLI tool to generate a dApp project for the nOS platform, in your favorite frontend technology.

Purpose

The goal of this project is to provide a quickstart for creating nOS dApps with various frontend technologies already installed and configured to work with the nOS platform.

Installation

First, we need to install the npm package. This will make the create-nos-dapp command available in your command prompt. You can install the npm package by executing one of the following commands

# Using yarn
yarn global add @nosplatform/create-nos-dapp

# Using npm
npm i -g @nosplatform/create-nos-dapp

Usage

Direct usage

At this point the create-nos-dapp command should be available. To create a dApp for nOS, simply open up your command prompt and execute:

create-nos-dapp

It will now ask you to choose a project template and what name you'd like to give it. The CLI-tool will create the project in the current working directory.

Usage with flags

If you'd like to get started even faster - you could also pass some arguments to the create-nos-dapp.

usage: create-nos-dapp [-h] [-v] [-t TYPE] [-n NAME]

create-nos-dapp

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  -t TYPE, --type TYPE  Template type (react/vanilla/vue)
  -n NAME, --name NAME  Project name, f.e. my-nos-dapp

Resources to get started with the generated project

API Documentation

Getting started with the project templates

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free