Skip to content

asl-constants 2.0.0

Install from the command line:
Learn more about npm packages
$ npm install @ukhomeoffice/asl-constants@2.0.0
Install via package.json:
"@ukhomeoffice/asl-constants": "2.0.0"

About this version

asl-constants

Provides a home for any commonly used values shared across the ASL project.

Usage

Authenticate with GitHub packages

Install the package:

npm install @ukhomeoffice/asl-constants --save-prod

Import as necessary:

const { establishmentCountries, establishmentStatuses } = require('@ukhomeoffice/asl-constants');
console.log(establishmentCountries);

result:

[
  'england',
  'scotland',
  'wales',
  'ni'
]

Publishing

This is automatically published to the GitHub packages npm repository using GitHub Actions.

When opening a pull request add a label major, minor or patch (or skip-release) and the version field in package.json will be updated by the pipeline using npm version.

It is published once the pull request is merged if there is no skip-release label on the pull request, the SHA is also tagged with the SemVer value at that point.

Details


Assets

  • asl-constants-2.0.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0