Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Simple ip geolocation api based on ipstack.com
You need to get you're api key from here: https://ipstack.com/signup/free and you'll get 10k free requests/month
npm install --save ipstack
const ipstack = require('ipstack')
ipstack("8.8.8.8","<your ipstack api key>",(err, response) => {
console.log(response)
})
{ ip: '8.8.8.8',
type: 'ipv4',
continent_code: 'NA',
continent_name: 'North America',
country_code: 'US',
country_name: 'United States',
region_code: null,
region_name: null,
city: null,
zip: null,
latitude: 37.751,
longitude: -97.822,
location:
{ geoname_id: null,
capital: 'Washington D.C.',
languages: [ [Object] ],
country_flag: 'http://assets.ipstack.com/flags/us.svg',
country_flag_emoji: '🇺🇸',
country_flag_emoji_unicode: 'U+1F1FA U+1F1F8',
calling_code: '1',
is_eu: false } }
FAQs
Geolocation based on api stack api package for nodejs
The npm package ipstack receives a total of 1,658 weekly downloads. As such, ipstack popularity was classified as popular.
We found that ipstack demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.