UNPKG

@lucide/helpers

Version:

A internal used package with helpers.

12 lines (10 loc) 250 B
import fs from 'fs'; import path from 'path'; /** * Read svg from directory * * @param {string} fileName * @param {string} directory */ export const readSvg = (fileName, directory) => fs.readFileSync(path.join(directory, fileName), 'utf-8');