Installation
The library comes in two flavours: Palindrom
and PalindromDOM
. The difference is explained on the PalindromDOM
page.
You can install the library using Bower or NPM:
Bower:
bower install Palindrom --save
Then add source to your HTML:
<!-- include a bundle with Palindrom global object -->
<script src="bower_components/Palindrom/dist/palindrom.min.js"></script>
<!-- or, include a bundle with PalindromDOM global object -->
<script src="bower_components/Palindrom/dist/palindrom-dom.min.js"></script>
See Dependencies page for details about what's in the bundles.
NPM:
npm install palindrom --save
Then you can import it ES Modules style:
// import Palindrom constructor
import { Palindrom } from 'palindrom';
// or, import PalindromDOM constructor
import { PalindromDOM } from 'palindrom';
GitHub:
You can browse the source code on GitHub or download a ZIP archive from there.