tidelift-me-up
TypeScript icon, indicating that this package has built-in type declarations

0.6.1Β β€’Β PublicΒ β€’Β Published

Tidelift Me Up

CLI that checks if your npm packages are eligible for Tidelift funding. πŸ’Έ

πŸ‘ͺ All Contributors: 5 🀝 Code of Conduct: Kept πŸ§ͺ Coverage πŸ“ License: MIT πŸ“¦ npm version πŸ’ͺ TypeScript: Strict

Usage

Run this with npx:

npx tidelift-me-up

...and your list of packages will log to the console:

πŸ‘‰ abc-def is not yet lifted, but is estimated for $25.0/mo.
βœ… ghi-jkl is already lifted for $50.0/mo.

Tip: add | grep yet to filter to only packages that are not yet lifted.

npx tidelift-me-up | grep yet

Options

  • -h/--help: Print these options to the terminal
  • --ownership (default: ["author", "publisher"]): If provided, any filters user packages must match one of based on username: "author", "maintainer", and/or "publisher"
  • --reporter (default: "text"): Either "json" to output a raw JSON string, or "text" for human-readable output
  • --since (default: 2 years ago): A date that packages need to have been updated since to be considered
    • This will be provided as a string to the Date constructor
  • --status (default: 'all'): If provided, a filter on package lifting status: 'all', "available", or "lifted"
  • --username (default: result of npm whoami): The npm username to search for packages owned by
npx tidelift-me-up --ownership author --ownership publisher --reporter json --since 2020 --username your-username

Node API

This package also exports a tideliftMeUp function you can call to receive an array of results:

import { tideliftMeUp } from "tidelift-me-up";

await tideliftMeUp();
/*
[
	{
		estimatedMoney: 25,
		lifted: false,
		name: 'your-eligible-package'
	}
]
*/

It takes in the same options as the CLI, except for reporter:

import { tideliftMeUp } from "tidelift-me-up";

await tideliftMeUp({
	ownership: ["author", "publisher"],
	since: new Date("2020"),
	username: "your-username",
});

Development

See .github/CONTRIBUTING.md, then .github/DEVELOPMENT.md. Thanks! πŸ’Έ

Contributors

Jordan Harband
Jordan Harband

πŸ€” πŸ›
Josh Goldberg
Josh Goldberg

πŸ”§ πŸ’» πŸ› πŸ€” 🚧 πŸš‡ πŸ“– πŸ–‹ πŸ“†
Maggie
Maggie

πŸ“– πŸ”§ πŸ› πŸ’» πŸ€”
Sindre Sorhus
Sindre Sorhus

πŸ›
StyleShit
StyleShit

πŸ’»

πŸ’ This package was templated with create-typescript-app using the Bingo engine.

Readme

Keywords

none

Package Sidebar

Install

npm i tidelift-me-up

Weekly Downloads

37

Version

0.6.1

License

MIT

Unpacked Size

25.4 kB

Total Files

36

Last publish

Collaborators

  • joshuakgoldberg