Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
english-a-an
Advanced tools
Determines whether a sequence (noun or adjective) should start with a
or an
: an elephant, a European, an Irishman, an heir, etc.
It is based on a list of words that must be preceded by an
: use english-a-an-list
as that list.
getAAn
will return either a
or an
based on:
aan
key with either a
or an
as a value; in general put just null herean
: use english-a-an-list
Case matters:
English
=> an English
, while english
will not be foundan AND
makes sense, while a/an and
doesn'tnpm install english-a-an
const englishAAn = require('english-a-an');
const englishAAnList = require('english-a-an-list/dist/aan.json');
// an
console.log(englishAAn.getAAn(null, englishAAnList, 'English'));
// a
console.log(englishAAn.getAAn(null, englishAAnList, 'European'));
FAQs
English a/an indefinite articles, based on WordNet
The npm package english-a-an receives a total of 76 weekly downloads. As such, english-a-an popularity was classified as not popular.
We found that english-a-an demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.