UNPKG

@web-alchemy/fonttools

Version:

This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.

17 lines (13 loc) 219 B
function once(/**@type {Function}*/ func) { let result return function() { if (result) { return result } result = func.apply(this, arguments) return result } } module.exports = { once }