0.0.11 • Published 2 years ago

@golpasal/common v0.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

common

Install

npm install --save @golpasal/common

Usage

// helper
import { helpers } from '@golpasal/common';

const locale = new Locale(localeSettings);

// get accept-language
locale.renderAcceptLanguage(helpers.getLocale(headers['accept-language']));
// set lcoale in req
req.locale = locale;

// constant
import common from '@golpasal/common';

const { EmploymentStatus } = common.status;

const employmentStatus = EmploymentStatus.COMPLETED;

const employments = this.repo.find({ status: EmploymentStatus.COMPLETED });
0.0.10

2 years ago

0.0.11

2 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago