This commit is contained in:
Tony Garnock-Jones 2018-11-13 15:36:50 +00:00
parent b5ce8722d4
commit 974f48bdb9
1 changed files with 7 additions and 5 deletions

View File

@ -6,9 +6,10 @@ subject of a forthcoming paper.
## Quickstart
**Option 1. Create a new program/library using Syndicate/js.** Use
`npx @syndicate-lang/create DIRECTORY` or `npm init @syndicate-lang
DIRECTORY`:
### Option 1. Create a new program/library using Syndicate/js.
Use `npx @syndicate-lang/create DIRECTORY` or `npm init
@syndicate-lang DIRECTORY`:
npm init @syndicate-lang myprogram
cd myprogram
@ -16,8 +17,9 @@ DIRECTORY`:
npm run build
node lib/index.js
**Option 2. Add Syndicate/js to an existing program/library.** Install
a few packages from the
### Option 2. Add Syndicate/js to an existing program/library.
Install a few packages from the
[@syndicate-lang](https://www.npmjs.com/org/syndicate-lang) scope on
npmjs.com: