0.0.18 • Published 2 years ago

@citydev/common-utils v0.0.18

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

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