@citydev/common-utils
TypeScript icon, indicating that this package has built-in type declarations

0.0.18 • Public • Published

Introduction

This standalone package is extracted and updated from the previous buildings-common in buildings project. It covers the most basic and common utils logic such as array/object/collection's logic, date, format utils etc. Please follow the steps below to proceed with library migration or adoption.

Usage

  1. Create .npmrc file in the root directory with content
    @citydev:registry= http://npm.envisioncn.com:7001/
  1. install @citydev/common-utils if you have applied buildings-common logic
    yarn add @citydev/common-utils
  1. update import path from buildings-common to @citydev/common-utils in your projects If it is a monorepo project, the better practise is to check internal module hierarchy and migrate progressively by each module starting with the most basic module.
    import from '@citydev/common-utils/lib/***'
  1. Now you can build and run your own project. Once success, for migration users, you can remove the dependencies on buildings-common

Readme

Keywords

none

Package Sidebar

Install

npm i @citydev/common-utils

Weekly Downloads

5

Version

0.0.18

License

MIT

Unpacked Size

189 kB

Total Files

56

Last publish

Collaborators

  • cryrivers