Install Lvovich
masterYou can install Lvovich via npm for use in Node.js or bundler-based frontend projects, or include it directly in the browser via CDN.
npm installation:
npm install lvovichBrowser installation (CDN):
<script src="https://cdn.jsdelivr.net/npm/lvovich/dist/lvovich.min.js"></script>
<script>
var city = 'Москва';
document.writeln('Найдено в ' + lvovich.cityIn(city) + '<br/>');
document.writeln('Из ' + lvovich.cityFrom(city) + '<br/>');
document.writeln('Еду в ' + lvovich.cityTo(city) + '<br/>');
</script>npm install lvovich