Public
Edited
Sep 14, 2023
Insert cell
# IP/
Insert cell
Insert cell
ip = {
const { default: ip } = await import(
"https://cdn.jsdelivr.net/npm/ip@1.1.8/+esm"
);
return ip;
}
Insert cell
ip.isPrivate('192.168.0.1')
Insert cell
ip.isPrivate('169.254.169.254')
Insert cell
ip.isPrivate('fd00:ec2::254')
Insert cell
ip.cidrSubnet('23.102.140.112/28').contains('23.102.140.127')
Insert cell
Type HTML, then Shift-Enter. Arrow ↑/↓ to switch modes.

Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more