How to use tall - 1 common examples

To help you get started, we’ve selected a few tall examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github oaeproject / Hilary / packages / oae-preview-processor / lib / rest.js View on Github external
OAE.tenantRouter.on('get', '/api/longurl/expand', async (req, res) => {
  const url = decodeURIComponent(req.query.url);

  try {
    const unshortenedUrl = await tall(url);
    const data = {
      'long-url': unshortenedUrl
    };
    return res.status(200).send(data);
  } catch (error) {
    return res.status(500).send(error.message);
  }
});

tall

Promise-based, No-dependency URL unshortner (expander) module for Node.js

MIT
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis

Popular tall functions