# Integration

osh-js can be integrated with plain JavaScript or with different module loaders. The examples below show how to load osh-js in different systems.

<script src="path/to/osh-js/dist/osh-js.js"></script>
<script>
    const dataSource = new DataSource({...});
</script>

# Common JS

const DataSource = require('osh-js.js');
const dataSource = new DataSource({...});

# Bundlers (Webpack, Rollup, etc.)

import { DataSource } from 'osh-js.js';

const dataSource = new DataSource({...});