A centralized repository of reusable frontend assets (JavaScript, CSS, images, fonts, icons, and plugins), published and distributed via jsDelivr CDN for easy use in any web project.
Add any asset to your project in seconds:
JavaScript (versioned, recommended):
<script src="https://cdn.jsdelivr.net/gh/njbm/assets@1.1.1/js/form-submit-lock.min.js"></script>CSS (versioned):
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/njbm/assets@1.0.2/css/my-styles.min.css">Latest (not recommended for production):
<script src="https://cdn.jsdelivr.net/gh/njbm/assets/js/form-submit-lock.min.js"></script>Add a robust calculator to your site:
<div id="my-calculator"></div>
<script src="https://cdn.jsdelivr.net/gh/njbm/assets/calculator/robust-calculator.js"></script>
<script>
RobustCalculator.init('#my-calculator', { theme: "dark", accent: "#e17055" });
</script>Or the versioned:
<script src="https://cdn.jsdelivr.net/gh/njbm/assets@1.1.1/calculator/robust-calculator.js"></script>assets/
calculator/
robust-calculator.js
robust-calculator.min.js
calculator-theme.css
icons/
js/
form-submit-lock.js
form-submit-lock.min.js
css/
my-styles.css
my-styles.min.css
icons/
logo.svg
github.svg
plugins/
<your-plugin-files>
README.md
Img CDN:
<img src="https://cdn.jsdelivr.net/gh/njbm/assets/img/logo.png" alt="Logo">
<img src="https://cdn.jsdelivr.net/gh/njbm/assets@1.1.1/img/logo.svg" alt="Logo">Plugin CDN:
<script src="https://cdn.jsdelivr.net/gh/njbm/assets@1.0.2/plugins/your-plugin.min.js"></script>Happy coding! Use, share, and contribute to make web development faster and easier for everyone.