elUtils is a lightweight, zero-dependency TypeScript library providing utility functions for common tasks like geolocation, validation, and date handling, with features optimized for both Greek and international applications.
Installations
npm install @tsevdos/el-utils
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
20.17.0
NPM Version
10.8.2
Score
78.9
Supply Chain
99.2
Quality
80.5
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Languages
TypeScript (99.49%)
JavaScript (0.51%)
Developer
Download Statistics
Total Downloads
684
Last Day
7
Last Week
9
Last Month
15
Last Year
684
GitHub Statistics
53 Stars
61 Commits
15 Forks
2 Watching
1 Branches
9 Contributors
Package Meta Information
Latest Version
0.7.0
Package Id
@tsevdos/el-utils@0.7.0
Unpacked Size
865.46 kB
Size
96.40 kB
File Count
7
NPM Version
10.8.2
Node Version
20.17.0
Publised On
17 Oct 2024
Total Downloads
Cumulative downloads
Total Downloads
684
Last day
0%
7
Compared to previous day
Last week
800%
9
Compared to previous week
Last month
-54.5%
15
Compared to previous month
Last year
0%
684
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
elUtils
elUtils is a library that contains convenient, easy-to-use, and lightweight utility functions that solve many problems we face daily when building applications for Greek businesses.
Description
elUtils is a zero-dependency modern package, written in TypeScript, strongly-typed, that solves various geolocation, validation, and date-related issues by providing a broad collection of easy to use functions.
Check all the available functions here (by module category).
Installation
1# npm 2npm install @tsevdos/el-utils 3# or yarn 4yarn add @tsevdos/el-utils 5# or pnpm 6pnpm add @tsevdos/el-utils
Usage
To use one of the available utility functions, you just need to import it (example below):
1// esm 2import { getAdministrativeRegions, getDays, ... } from "@tsevdos/el-utils"; 3// cjs 4const { getAdministrativeRegions, getDays, ... } = require("@tsevdos/el-utils"); 5 6console.log(getAdministrativeRegions());
Demo
Check all the available functions on this code sandbox.
API
The library is currently split into the following modules:
-
- getAdministrativeRegions()
- getAdministrativeRegionById()
- getAdministrativeRegionByIsoCode()
- getAdministrativeUnits()
- getAdministrativeUnitById()
- getMunicipalities()
- getCities()
- searchCityByName()
- getCityById()
- getCityAdministrativeDivision()
- getGeographicRegions()
- getGeographicRegionById()
- getPrefectures()
- getPrefectureById()
- getAllPostalCodes()
- findByPostalCode()
- getAllTaxOffices()
- getTaxOfficeById()
- getTaxOfficesByRegionId()
- getTaxOfficesByUnitId()
- getTaxOfficesByMunicipalityId()
- getTaxOfficesByPostalCode()
- searchTaxOffice()
Contribute
See the Contributing guide.
If you like the project but just don't have time to contribute, that's fine. There are other easy ways to support it and show your appreciation, which we would also be very happy about:
- Star the project
- Tweet about it
- Refer this project in your project's readme
- Mention the project at local meetups and tell your friends/colleagues
License
MIT© John Tsevdos
No vulnerabilities found.
No security vulnerabilities found.