Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@dbp-toolkit/language-select
Advanced tools
You can install this component via npm:
npm i @dbp-toolkit/language-select
<dbp-language-select></dbp-language-select>
<script type="module" src="node_modules/@dbp-toolkit/language-select/dist/dbp-language-select.js"></script>
Or directly via CDN:
<dbp-language-select></dbp-language-select>
<script type="module" src="https://unpkg.com/@dbp-toolkit/language-select@0.2.2/dist/dbp-language-select.js"></script>
lang
(optional, default: de
): set to de
or en
for German or English (note that it will be shown the
other way around to make it easier to switch to a different language)
<dbp-language-select lang="de"></dbp-language-select>
The component emits dbp-set-property
events for these attributes:
lang
to propagate a language change (possible values en
, de
)# get the source
git clone git@github.com:digital-blueprint/toolkit.git
cd toolkit/packages/language-select
# install dependencies
npm install
# constantly build dist/bundle.js and run a local web-server on port 8002
npm run watch-local
# build local packages in dist directory
npm run build
FAQs
Unknown package
The npm package @dbp-toolkit/language-select receives a total of 5 weekly downloads. As such, @dbp-toolkit/language-select popularity was classified as not popular.
We found that @dbp-toolkit/language-select demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.