
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
what3words-api-nodejs-client
Advanced tools
what3words-api-nodejs-client is Node.js client library for what3words API.
Work In Progress : It exposes a subset of what3words API methods.
This library allows to use an environment variable (W3W_API_KEY) to send requests on what3words API. Otherwise the what3words API keyr is a parameter of each requests.
$ export W3W_API_KEY=YOUR-API-KEY
or
what3words.forward({
addr: 'index.home.raft',
key: 'YOUR-API-KEY'
});
what3words already maintains a dedicated client side JavaScript library
installation
$ npm install what3words-api-nodejs-client
configure
$ export W3W_API_KEY=YOUR-API-KEY
Enjoy #3wordadresses
This function wraps what3words API method forward It returns a Promise resolved by API payload.
const what3words = require('what3words-api-nodejs-client');
what3words.forward({
addr: 'index.home.raft'
})
.then(
(data) => {
console.log(data);
}
)
.catch((err) => {
console.error(err);
});
This function wraps what3words API method reverse It returns a Promise resolved by API payload.
const what3words = require('what3words-api-nodejs-client');
what3words.reverse({
coords: '51.521251,-0.203586'
})
.then(
(data) => {
console.log(data);
}
)
.catch((err) => {
console.error(err);
});
This function wraps what3words API method languages It returns a Promise resolved by what3words API payload.
const what3words = require('what3words-api-nodejs-client');
what3words.languages()
.then(
(data) => {
console.log(data);
}
)
.catch((err) => {
console.error(err);
});
This function wraps what3words API method standardblend It returns a Promise resolved by API payload.
const what3words = require('what3words-api-nodejs-client');
what3words.standardblend({
addr: 'planter.récolte.a',
lang: 'fr'
})
.then(
(data) => {
console.log(data);
}
)
.catch((err) => {
console.error(err);
});
This function wraps what3words API method autosuggest It returns a Promise resolved by API payload.
const what3words = require('what3words-api-nodejs-client');
what3words.autosuggest({
addr: 'index.home.ra',
lang: 'en'
})
.then(
(data) => {
console.log(data);
}
)
.catch((err) => {
console.error(err);
});
This function wraps what3words API method autosuggest It returns a Promise resolved by API payload.
const what3words = require('what3words-api-nodejs-client');
what3words.autosuggestML({
addr: 'index.home.ra',
lang: 'en'
})
.then(
(data) => {
console.log(data);
}
)
.catch((err) => {
console.error(err);
});
This function wraps what3words API method grid It returns a Promise resolved by API payload.
const what3words = require('what3words-api-nodejs-client');
what3words.grid({
bbox: '45.192,5.7237,45.188,5.7180',
format: 'geojson'
})
.then(
(data) => {
console.log(data);
}
)
.catch((err) => {
console.error(err);
});
$ npm i
$ npm test
$ npm run-script coverage
report is available with :
$ open coverage/lcov-report/index.html
Anyone and everyone is welcome to contribute.
Find a bug or want to request a new feature? Please let me know by submitting an issue.
Licensed under the MIT License
A copy of the license is available in the repository's LICENSE file.
FAQs
what3words api nodejs client
The npm package what3words-api-nodejs-client receives a total of 1 weekly downloads. As such, what3words-api-nodejs-client popularity was classified as not popular.
We found that what3words-api-nodejs-client 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.