From 35b67fc395ee9427ad9a9a1e6c4ad0341d34d0a0 Mon Sep 17 00:00:00 2001 From: Zefir Kirilov Date: Mon, 30 Mar 2026 13:05:28 +0300 Subject: [PATCH] Updated the README with instructions for adding from JSR for Deno --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 01e528e..e1cb501 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ arithmetic on IP addresses and subnets. ### Node.js -Install with `npm`: +Install from NPM: ```sh npm install @cldn/ip @@ -31,10 +31,16 @@ import { IPv4, IPv6, Subnet } from "@cldn/ip"; ### Deno -Import the package from npm using the standard prefix: +Add from JSR: + +```sh +deno add jsr:@cldn/ip +``` + +Import and use: ```ts -import { IPv4, IPv6, Subnet } from "npm:@cldn/ip"; +import { IPv4, IPv6, Subnet } from "@cldn/ip"; ``` ### Browsers @@ -91,7 +97,7 @@ For real-time chat or community discussions, join our Matrix space: ## Licence -Copyright © 2024–2025 Cloudnode OÜ. +Copyright © 2024–2026 Cloudnode OÜ. This project is licensed under the terms of the [LGPL-3.0](https://github.com/cloudnode-pro/ip/blob/master/COPYING) licence.