diff --git a/docs/index.html b/docs/index.html index c5088b8..b5af5f0 100644 --- a/docs/index.html +++ b/docs/index.html @@ -56,6 +56,10 @@
A simple way to load the library in a browser is by using the unpkg CDN, which is a +"fast, global content delivery network for everything on npm". To use it, include a script tag like this in your file:
+<script src="https://unpkg.com/cronstrue@latest/dist/cronstrue.min.js" async></script>
Using the "latest" tag will result in a 302 redirect to the latest version tag so it is highly recommended to use a specific version tag such as https://unpkg.com/cronstrue@1.48.0/dist/cronstrue.min.js to avoid this redirect.
cronstrue.toString("* * * * *");
> "Every minute"
diff --git a/package-lock.json b/package-lock.json
index 0677af6..10783ad 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "cronstrue",
- "version": "1.48.0",
+ "version": "1.49.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 5be5a15..db74fcf 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "cronstrue",
"title": "cRonstrue",
- "version": "1.48.0",
+ "version": "1.49.0",
"description": "Convert cron expressions into human readable descriptions",
"author": "Brady Holt",
"license": "MIT",