UNPKG

@extra-isin/logos

Version:

Graphical symbols for identification of specific securities labeled by the 12-digit code, ISIN.

40 lines (33 loc) 1.04 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var P = require('path'); function _interopNamespace(e) { if (e && e.__esModule) return e; var n = Object.create(null); if (e) { Object.keys(e).forEach(function (k) { if (k !== 'default') { var d = Object.getOwnPropertyDescriptor(e, k); Object.defineProperty(n, k, d.get ? d : { enumerable: true, get: function () { return e[k]; } }); } }); } n["default"] = e; return Object.freeze(n); } var P__namespace = /*#__PURE__*/_interopNamespace(P); function path(isin) { return P__namespace.join(__dirname, isin + ".png"); } function unpkgUrl(isin) { return `https://unpkg.com/@extra-isin/logos/data/${isin}.png`; } function jsDelivrUrl(isin) { return `https://cdn.jsdelivr.net/npm/@extra-isin/logos/data/${isin}.png`; } exports.jsDelivrUrl = jsDelivrUrl; exports.path = path; exports.unpkgUrl = unpkgUrl;