podns
v1.0.4
Published
This is a Node.JS implementation of [Pronouns over DNS](https://github.com/CutieZone/pronouns-over-dns), a way to define pronouns using DNS TXT records.
Readme
PoDNS
This is a Node.JS implementation of Pronouns over DNS, a way to define pronouns using DNS TXT records.
Usage
const getPronouns = require("podns");
await getPronouns("mauve.beer");Return values
{
type: "pronouns"|"wildcard"|"none"|"comment-only"
raw // raw data fetched
cleanedRaw // cleaned up version of the fetch data (e.g. "SHE/ Her #hello!" -> "she/her")
comment?
// everything below this requires type to be "pronouns" in order to exist
tags // array that can only contain "preferred" and/or "plural"
pronouns: {
subject //first part of the pronouns
object // second
possessiveDeterminer // third
possessivePronoun // fourth
reflexive // fifth
}
}