nfclibrary
v1.0.12
Published
A node module to query any icon from the Naflouille Creations projects.
Downloads
11
Readme
Naflouille Creations' Library access
About
This library has been made in order to share useful resources for website and projects designing ; including icons, color palettes, logos, and more. See more at https://www.naflouille-creations.com/product/library/
Installation
npm install nfclibrary
Usage
const { fetchSVGFiles } = require('nfclibrary');
fetchSVGFiles().then(svgObject => {
console.log(svgObject); // This will be the object containing SVG content
});
Note: this function is asynchronous. If you are using React.js, make sure to use the useEffect()
method.
Make sure to have node-fetch
installed on your project.
License
All rights reserved. You can use the icons for personnal uses and may credit Naflouille Creations.