Notary Public Mystifier

    chesslike-board

    0.2.0 • Public • Published

    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.

    Install

    npm i chesslike-board

    DownloadsWeekly Downloads

    1

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    260 kB

    Total Files

    30

    Last publish

    Collaborators

    • pbuk