vitalets/await-timeout: A Promise-based API for setTimeout / clearTimeout

A Promise-based API for setTimeout / clearTimeout Contents Installation npm install await-timeout –save Usage The example below shows usage of timeout with ES7 async / await in try…finally block. It guarantees that timeout will be cleared in case of fetch Continue reading vitalets/await-timeout: A Promise-based API for setTimeout / clearTimeout

vitalets/websocket-as-promised: Promise-based API for WebSockets

Promise-based API for WebSockets A WebSocket client library providing Promise-based API for connecting, disconnecting and messaging with server. Contents Installation npm install websocket-as-promised –save Usage in browser const WebSocketAsPromised = require(‘websocket-as-promised’); const wsp = new WebSocketAsPromised(wsUrl); wsp.open() .then(() => wsp.send(‘foo’)) Continue reading vitalets/websocket-as-promised: Promise-based API for WebSockets

dt-fe/intl-format: I18N tools for universal javascript apps, easy use & better api;

I18N tools for universal javascrit apps, easy use & better api; How To Use Init this I18N tools import IntlFormat from ‘intl-format’; const intlFormat = IntlFormat.init(‘en-UK’, { ‘en-UK’: { test: ‘testvalue’, testTemplate: ‘you have {value} unread message’, photo: “You have Continue reading dt-fe/intl-format: I18N tools for universal javascript apps, easy use & better api;

RESTful API In Node & Express With TypeScript & MongoDB

This video covers writing a RESTful JSON API using Node, Express, MongoDB, Mongoose, and TypeScript. My other Node/Express video was really just a way … source

The power of Geolocation (Google Cloud Next ’17)

Enterprise customers use the Google Maps Geolocation API to reimagine location-based solutions – from real-time asset tracking to corporate location … source

API for Beginners – 1 – Installation of Laravel Lumen

Server Requirements The Lumen framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead virtual … source