1.0.1 • Published 1 year ago
head-toolkit v1.0.1
Head Toolkit
Head Toolkit is a JavaScript library for dynamically loading CSS and JavaScript files into the <head>
of an HTML document. It provides functions to load external CSS and JavaScript resources asynchronously.
Installation
You can install Head Toolkit via npm:
npm install head-toolkit
Usage
To use Head Toolkit in your project, you can import it and call its functions as needed:
import { load } from "head-toolkit";
// Example 1: Load a CSS file
load.css("styles.css");
// Example 2: Load a JavaScript file
load.js("script.js");
License
This project is licensed under the MIT License. See the LICENSE file for details.