How to use the tg-resources.Resource function in tg-resources

To help you get started, we’ve selected a few tg-resources 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 thorgate / django-project-template / {{cookiecutter.repo_name}} / {{cookiecutter.repo_name}} / app / src / utils / api.js View on Github external
.reduce((result, [key, url]) => {
        result[key] = new Resource(url); // eslint-disable-line no-param-reassign
        return result;
    }, {});

tg-resources

[![NPM version][npm-image]][npm-url]

MIT
Latest version published 3 years ago

Package Health Score

49 / 100
Full package analysis

Similar packages