JSPM

chesslike-board

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q29838F
  • License MIT

Presentation layer for chess-like games

Package Exports

  • chesslike-board

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chesslike-board) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

chesslike-board

Presentation layer for chess-like games.

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/chesslike-board@0.1"></script>

The module is exported as ChesslikeBoard:

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

Getting Started: in Node.js

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

Install from npm:

$ npm i chesslike-board

Require CommonJS module:

// Default should work...
const ChesslikeBoard = require('chesslike-board');
// ...or specify CommonJS module.
const ChesslikeBoard = require('chesslike-board/dist/cjs');

or import as an ES6 module:

// Default should work...
import ChesslikeBoard from 'chesslike-board';
// ...or specify ES6 module.
import ChesslikeBoard from 'chesslike-board/dist/esm';

Using

Documentation

Contributing

Important information

Copyright 2021 pbuk and distributed under the MIT License. See [LICENSE] for more information.

Icons included from:

Contact

Please contact by raising an issue on GitHub; all comments and suggestions are welcome.