Freighter.js is an HTML carousel library that lets you customize the look and behavior properties of your carousel elements. Change these properties on-the-fly with the Freighter API, and decide how your carousel should change on different screen sizes.
The recommended way to install Freighter is as a Module. Run the following command in your project directory to install and use Freighter:
View Package on NPMFreighter was written completely in TypeScript, enabling the library to take advantage of custom types, classes, and strict type checking. You can download the raw source code for Freighter on the downloads page.
TypeScript SourceFreighter uses Webpack to bundle the library into a single JavaScript file, which can be easily included in a webpage. You can download the bundled JavaScript file on the downloads page.