0.0.11 • Published 3 years ago

@golpasal/common v0.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 years ago

0.0.11

3 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.1

4 years ago