@lehotel/core
Core Libraries such as type definitions, api clients and utils serving for backend services and frontend services
Installation
Use the package manager to install @lehotel/core (if you have been published to npm registry)
yarn add @lehotel/core
Local Development
For development, a package can be linked into another project. This is often useful to test out new features
cd lehotel-core
yarn link
Use yarn link @lehotel/core
to link another package that you’d like to test into your current project.
Usage
import { isDev } from '@lehotel/core/dist/utils';
isDev();
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.