@mo-platform/multidict

Dictionary service client for mo apps

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
021Jun 10, 2021Sep 19, 2017Minified + gzip package size for @mo-platform/multidict in KB

Readme

JS client for Multidict Service

Multidict js client provides dictionary service in various mo apps.

npm run dev

npm run build is to build

you can also include dictionary from unpkg cdn

Install

<script
src="https://unpkg.com/@mo-platform/multidict@0.2.0/dist/multidict.js"></script>
<script type="text/javascript">
var dict = new MultiDictClient();
dict
.search('dyr', 'nb_NO')
.then( function(data) {
  console.log(data.data);
  data.data.phrases.forEach(function(phrase) {
    console.log(phrase);
  });
});
</script>

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.