Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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 172 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.