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

0.3.1 • Public • Published

Sail Results

TypeScript module for working with results from sailing races.

Getting Started: in a web page

Current major browsers are supported but not Internet Explorer (edit targets in rollup.config.js and run npm run build to change this).

Load the script from the CDN:

<script src="https://cdn.jsdelivr.net/npm/sail-results@1"></script>

The module is exported as SailResults:

<script>
  document.write(SailResults.version);
</script>

Getting Started: in Node.js

Node >= 12 is currently supported in the distributed modules.

Install from npm:

$ npm i sail-results

Require CommonJS module:

// Default should work...
const SailResults = require('sail-results');
// ...or specify CommonJS module.
const SailResults = require('sail-results/dist/cjs');

or import as an ES6 module:

// Default should work...
import SailResults from 'sail-results';
// ...or specify ES6 module.
import SailResults from 'sail-results/dist/esm';

Using

Documentation

Contributing

License

Distributed under the MIT License. See [LICENSE] for more information.

Contact

Acknowledgements

Package Sidebar

Install

npm i sail-results

Weekly Downloads

1

Version

0.3.1

License

MIT

Unpacked Size

15.1 kB

Total Files

13

Last publish

Collaborators

  • pbuk