npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

one-thing

1.2.1

@sindresorhus

npmHomeRepoSnykSocket
Downloads:1
$ npm install one-thing
DailyWeeklyMonthlyYearly

one-thing

Set the text for the One Thing app

Requires Node.js 12 and the One Thing app to be installed.

CLI

npm install --global one-thing
$ one-thing --help

  Usage
    $ one-thing <text>
    $ one-thing --get

  Example
    $ one-thing 'Prepare for important meeting'

API

npm install one-thing
import oneThing, {getOneThing} from 'one-thing';

await oneThing('Prepare for important meeting');

console.log(await getOneThing());
//=> 'Prepare for important meeting'