0.5.1 • Published 2 years ago

ovni-utils v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

0.4.9

2 years ago

0.3.0

2 years ago

0.4.5

2 years ago

0.4.4

2 years ago

0.4.7

2 years ago

0.4.6

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.3.2

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.4.3

2 years ago

0.5.1

2 years ago

0.4.2

2 years ago

0.3.3

2 years ago

0.2.2

2 years ago

0.2.0

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.0

2 years ago