Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

c5-js-utils

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c5-js-utils

my simple javascript library utilities

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

c5-js-utils License: ISC CircleCI codecov

A group of javascript utilites for validating strings and objects/dates, as well as formatting dates and times.

Installation

# using npm
npm install c5-js-utils

# using yarn
yarn add c5-js-utils

Usage

# using require
const {
  isValid,
  isValidDate,
  formatDate,
  pad,
  getDayOfWeek,
  addDays,
  formatTimeString,
  formatMoney
} = require("c5-js-utils");

# using import
import {
  isValid,
  isValidDate,
  formatDate,
  pad,
  getDayOfWeek,
  addDays,
  formatTimeString,
  formatMoney
} from 'c5-js-utils';

Example

Javascript examples:

const someString = "hello;
console.log(isValid(someString));


FAQs

Package last updated on 23 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts