From f307a76f17b027c58075fc4dea707a69a77064d4 Mon Sep 17 00:00:00 2001 From: omrilotan Date: Mon, 18 Dec 2023 22:51:12 +0000 Subject: [PATCH] Add deprecation message --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 4c80bb9..cb17610 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,13 @@ Detect bots/crawlers/spiders using the user agent string. +> ## Releasing Version 4: deprecation notice +> +> I'll be releasing version 4 as "latest" soon. Migration is simple, just replace `import isbot from "isbot"` with `import { isbot } from "isbot"` in your code. +> Run `npm i isbot@next` to test it out. +> If you are using extended functionality, there will be more changes and the feature you're using is no longer supported as is. Please open an issue if you need help migrating. +> Please visit [isbot](https://isbot.js.org) for more information. + ## Usage ```js