@fullscript/fullscript-js
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

Fullscript.js Documentation

Please visit the fullscript.js docs to get started.

Demo

In the project directory, we have two demo apps - React demo and UMD demo that you can experiment with.

create-react-app demo

The create-react-app demo app will use the npm package version of the fullscript-js library. Compared to the CDN version, the npm package version will contain typing information for your IDE and requires a bundler for packaging.

To get things started, please run the following from the root of the project:

  1. yarn link
  2. yarn install
  3. yarn build

Next run the following from the react-demo directory cd demo/react-demo:

  1. yarn link @fullscript/fullscript-js
  2. yarn install

Next you can run the React app using one of the options below:

  • yarn start (from inside demo/react-demo)
  • yarn demo:npm (from the root of the project)

UMD demo

The UMD version of the fullscript-js library is pre-packaged for consumption by browsers. This does not rely on a bundler such as webpack and can be included via a single script tag in any html file. The downside of this version is that you do no benefit from typing information.

To run the demo, you need simply run the following from the root of the project:

  • yarn install (from inside demo/javascript-demo/server)
  • yarn demo:umd (from the root of the project)

Readme

Keywords

none

Package Sidebar

Install

npm i @fullscript/fullscript-js

Weekly Downloads

84

Version

2.0.3

License

MIT

Unpacked Size

96 kB

Total Files

86

Last publish

Collaborators

  • fullscript_dev
  • aidanfeuerherm
  • sean.graves
  • josejr.delapaz
  • ryan.o