3.3.3 • Published 9 months ago

pronouns.js v3.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

package-version-npm npm-downloads npm-dependency-versions license-npm npm-types github-latest-commit github-release github-stars

A simple system to keep track of pronouns — and genders — with JavaScript and TypeScript.

A simple and lightweight JavaScript library for managing and creating pronouns. Supports custom pronouns! I got carried away one day and now this library also has genders.

Contibutions welcome.

The programmatic (API) documentation is available here. Built using Docma. For browser usage, see the "browser" section below.

For examples, see the examples/ folder.

Installation

Install from NPM. Type definitions are included for you TypeScript people (including me), so there's no need to try and install @types/pronouns.js as a devDependency — it probably doesn't exist anyways.

$ npm i pronouns.js

Browser functionality

You may use any one of the following imports:

<!--
	Recommended for production - does not rely on a CDN, fixed version
	You must download the minified webpack.js file from the GitHub repository and then include it like so
 -->
<script src="../dist/webpack.js"></script>
<!--
	Recommended for testing and development
	"https://unpkg.com/pronouns.js" automatically redirects to the specified file of the latest version
	i.e. "https://unpkg.com/pronouns.js@3.3.0/dist/webpack.js"
	you may use tag @latest to select the latest version (i.e. "https://unpkg.com/pronouns.js@latest")
	For production, it is HIGHLY RECOMMENDED you use a fixed version.
 -->
<script src="https://unpkg.com/pronouns.js"></script>
<!--
	Secondary CDN - not tested
	"https://cdn.jsdelivr.net/npm/pronouns.js" serves latest version, default file
	add version tag similar to unpkg for a specified version
	For production, it is HIGHLY RECOMMENDED you use a fixed version.
 -->
<script src="https://cdn.jsdelivr.net/npm/pronouns.js@latest/dist/webpack.js"></script>

Support

There is no support for CJS modules (require()). Use ESM instead (import ... from ...). If it works for one version, that's a coincidence. There is no intended support for CommonJS modules, only the modular syntax introduced in ES6. See MDN's JavaScript module guide.

3.3.1

11 months ago

3.2.2

11 months ago

3.3.0

11 months ago

3.2.1

11 months ago

3.2.0

11 months ago

3.3.3

9 months ago

3.2.4

11 months ago

3.3.2

11 months ago

3.2.3

11 months ago

3.1.0

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

3.0.0-beta.5

1 year ago

3.0.0-beta.4

1 year ago

3.0.0-beta.3

1 year ago

3.0.0-beta.2

1 year ago

3.0.0-beta.1

1 year ago

3.0.0-beta.0

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago