Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Node.js module that allows you to easily interact with the Localazy CDN.

License

NotificationsYou must be signed in to change notification settings

localazy/cdn-client

Repository files navigation

Localazy

📦@localazy/cdn-client

Documentation  | Getting Started  | Live Demo  | API Reference

Node.js module that allows you to easily interact with theLocalazy CDN.

npmmaintainerlicense
coveragesize

🚀 Quick Start

npm install @localazy/cdn-client# or use your favourite package manager
import{CdnClient}from'@localazy/cdn-client';constcdn=awaitCdnClient.create({// use your own metafilemetafile:'https://delivery.localazy.com/_a855374211039568660198b39c31/_e0.v2.json',});constresult=awaitcdn.fetch({// select files from metafilefiles:cdn.metafile.files[0],// select localeslocales:['en','de'],});
example result
constresult={en:{cdn_info:'With the CDN you can deliver the translation files instantly',cdn_testing:"We're testing the CDN",hello_localazy:'Hello Localazy!',using_javascript:'In this project we decided to use JavaScript',},de:{cdn_info:'Mit dem CDN können Sie die Übersetzungsdateien sofort liefern',cdn_testing:'Wir testen das CDN',hello_localazy:'Hallo Localazy!',using_javascript:'In diesem Projekt haben wir uns für JavaScript entschieden',},};

For more information, visitInstallation guide.

🛟 Support

💙 Localazy Packages

Check out all npm packages from Localazy:

PackageDescription
@localazy/cliLocalazy CLI tool for app and software localization and translation.
@localazy/api-clientNode.js module that allows you to easily interact with the Localazy API.
@localazy/cdn-clientNode.js module that allows you to easily interact with the Localazy CDN.
@localazy/languagesAvailable Localazy Languages
@localazy/strapi-pluginThe official Strapi Plugin by Localazy.
@localazy/directus-extension-localazyThe official Localazy module extension for Directus

Discover all availableintegration options andlocalization examples.

📜 License

Code released under theMIT license.

About

Node.js module that allows you to easily interact with the Localazy CDN.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp