one-thing
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

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'

Package Sidebar

Install

npm i one-thing

Weekly Downloads

9

Version

1.2.1

License

MIT

Unpacked Size

3.84 kB

Total Files

6

Last publish

Collaborators

  • sindresorhus