0.5.1 • Published 6 months ago

ovni-utils v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

OvniUtils v0.5.1

GitHub issues tag GitHub commit activity (branch) GitHub License FOSSA Status

OvniUtils is a small library with utilities that I regularly use in my projects. You are free to use it, collaborate or fork it.

Resources

Installation

Browser:

<script src="https://cdn.jsdelivr.net/npm/ovni-utils@0.5.1/dist/ovniutils.min.js"></script>

Deno:

import * as OU from 'https://esm.sh/ovni-utils@0.5.1'

Node:

$ npm i ovni-utils
import * as OU from 'ovni-utils'

Configuration

Change language

Some functions can return text. You can change the language of that text by config.

OU.setConfig({ language: 'es-ES' }) // Valid languages: es-ES, en-US (default: en-US)
OU.formatTimestamp(1695371156, "dddd, mmmm dS, yyyy, h:MM:ss TT") // Return "Viernes, Septiembre 22, 2023, 10:25:56 AM"
0.4.10

8 months ago

0.4.9

8 months ago

0.3.0

8 months ago

0.4.5

8 months ago

0.4.4

8 months ago

0.4.7

8 months ago

0.4.6

8 months ago

0.5.0

7 months ago

0.4.1

8 months ago

0.3.2

8 months ago

0.4.0

8 months ago

0.3.1

8 months ago

0.4.3

8 months ago

0.5.1

6 months ago

0.4.2

8 months ago

0.3.3

8 months ago

0.2.2

8 months ago

0.2.0

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.0

8 months ago