Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

toast-loader

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toast-loader - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

package.json
{
"name": "toast-loader",
"description": "A modern JS/CSS asset loader",
"version": "3.0.1",
"version": "3.0.2",
"author": "Aurélien Delogu <dev@dreamysource.fr> (http://dreamysource.fr)",

@@ -6,0 +6,0 @@ "repository": {

@@ -13,3 +13,3 @@ # Toast v3

Since it have a small footprint, Toast can be loaded as soon as possible in the `HEAD` tag:
Since it have a small footprint (0.8kb), Toast can be loaded as soon as possible in the `HEAD` tag:

@@ -22,2 +22,4 @@ ```html

Or even better, you can inline it in your HTML page to improve your loading performance.
## The API

@@ -50,3 +52,3 @@

```js
toast.all([
await toast.all([
'assets/css/styles1.css',

@@ -57,5 +59,4 @@ 'assets/css/styles2.css',

'assets/js/script3.js',
]).then(() => {
console.log('Everything has been loaded, yay!')
})
])
console.log('Everything has been loaded, yay!')
```

@@ -62,0 +63,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc