> For the complete documentation index, see [llms.txt](https://db.coolstone.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://db.coolstone.dev/browser/initialize.md).

# Initialize

{% hint style="info" %}
You can initialize as many databases as you want
{% endhint %}

{% code lineNumbers="true" %}

```javascript
const db = new Dubnium('type',temp)
```

{% endcode %}

### Parameters

<table><thead><tr><th>Name</th><th>About</th><th>Type</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>type</td><td>Data type. Options: <code>text</code> or <code>json</code></td><td>String</td><td>false</td></tr><tr><td>temp</td><td>If set to true, use <code>sessionStorage</code> instead of <code>localStorage</code></td><td>Bool</td><td>false</td></tr></tbody></table>
