oldj / node-font-list

Get the list of fonts installed in the system.
MIT License
135 stars 21 forks source link

Angular Compatability #10

Closed Rlcolli4 closed 4 years ago

Rlcolli4 commented 4 years ago

Good afternoon! I was wondering if you knew how compatible this package was in an Angular Application. I love the idea of how "getFonts" works, however it had issues loading in "child_process" and "fs". Once I followed some recommended fixes to get those working, I got "process is undefined" error when trying to run the function. Thanks in advance for any insights you can give me! Here are some details about what I am running locally with the package: localenviro

oldj commented 4 years ago

This package cannot be used in the browser environment. It depends on the Node.js environment and can be used in the server side or Electron.