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

1.4.1 • Public • Published

alloy-ts

A TypeScript (and JavaScript) library for working with Alloy instances in the browser.

API

The complete API documentation can be found here.

Installing

To install using npm:

npm install alloy-ts

To use directly in the browser, download alloy-*.*.*.js from the bundle/ directory and include in your HTML directly:

<script src='alloy-*.*.*.js'></script>

Using

To use in an ES2015 environment:

import * as Alloy from 'alloy-ts';

// OR

import { AlloyInstance, ...} from 'alloy-ts';

If you're including the bundle in a web page, the library is exposed globally as alloy:

<script>
  const instance = new alloy.AlloyInstance(...);
</script>

Readme

Keywords

Package Sidebar

Install

npm i alloy-ts

Weekly Downloads

2

Version

1.4.1

License

MIT

Unpacked Size

313 kB

Total Files

72

Last publish

Collaborators

  • atdyer