computebasic
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

ComputeBasic

npm version npm version License node GitHub issues GitHub Releases GitHub Pre-Releases

ComputeBasic is a simple script language for amateurs, compiled as JavaScript.

Installation

SystemJS

You need to reference Systemjs first and then import the index.js file like this:

<script src="//cdn.jsdelivr.net/npm/systemjs@0.21.6/dist/system.js"></script>
<script>
    System.config({
        packages: {
            './dist': {
                defaultExtension: 'js'
            }
        }
    });
    System.import('./dist/index');
</script>

CDN (Recommended)

For example:

<script>
    System.import('https://cdn.jsdelivr.net/npm/computebasic@x.x.x/dist/index.min');
</script>

Which will reflect the latest version as soon as it is published to npm. You can also browse the source of the npm package at https://cdn.jsdelivr.net/npm/computebasic/.

Also available on unpkg.

NPM

In the Node.js environment, you can install directly using NPM:

$ npm i computebasic --save

Or install the developing (unstable) version for newest features:

$ npm i computebasic@dev --save

Test

Test in the browser, visit "test/index.html". Test in Nodejs, please execute "node test.node.js" in the "dist" directory.

Click here to visit online.

Changelog

Changelog

License

This library is published under Apache-2.0 license.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i computebasic

      Weekly Downloads

      4

      Version

      1.0.0

      License

      Apache-2.0

      Unpacked Size

      82.1 kB

      Total Files

      19

      Last publish

      Collaborators

      • hanguoshuai