@qwant/qwant-maps-common

0.1.1 • Public • Published

qwant-maps-common

Usage

Get the category name for a place

import { getPlaceCategoryName } from '@qwant/qwant-maps-common';

const { subclass } = place;
const categoryName = getPlaceCategoryName({ subclass }, "fr");

Workflow in Erdapfel

By default, this package is installed and built automatically, as it's defined as a workspace in Erdapfel package.

The following operations are only useful if modifications are applied in this package.

Update language files

npm run i18n-scan

All languages files in ./i18n are updated with the translations keys that appear in ./src.

Rebuild the package

npm run build

or from the project root folder:

npm rebuild @qwant/qwant-maps-common

Output files are generated in ./dist/.

Publish a new version

After you applied your modifications, and translations are up-to-date, you may publish a new release.

  • Update the version number in "package.json" (or use npm version)
  • Run npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i @qwant/qwant-maps-common

Weekly Downloads

6

Version

0.1.1

License

Apache-2.0

Unpacked Size

64.3 kB

Total Files

10

Last publish

Collaborators

  • sdrll
  • pascaloliv
  • c.torre
  • p.vignaux