Socket
Book a DemoInstallSign in
Socket

@qwant/qwant-maps-common

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qwant/qwant-maps-common

Common utilities for Qwant Maps, Instant Answers, etc.

latest
npmnpm
Version
0.1.1
Version published
Maintainers
5
Created
Source

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

FAQs

Package last updated on 01 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.