npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

things-json

v1.0.0

Published

A Things v3.4+ JSON Coder

Readme

Things 3.4 JSON Coder

Build Status codecov

This builds a valid Things URL to interact with Things app for Mac v3.4. Read more.

Getting Started

Installation

$ npm install things-json

Inclusion

import ThingsJSC from 'things-json';

For documentation and references, see the official docs.

API

See examples in src/spec.js.

  • .todo(options): object; Creates a new to-do item
  • .project(options): object; Creates a new project item
  • .heading(options): string or object; Creates a new heading item.
  • .url(item): instance (or instances) of todo or project; converts item to an encoded URL for use. Accepts an array of items.

To-do

  • title: string; title of to-do
  • notes: string; text for notes (max 10K)
  • when: string or date; today, tomorrow, evening, anytime, someday
  • deadline: date
  • tags: array of strings
  • checklist: array; strings or checklistItem
  • listId: string
  • heading: string or object of headingItem
  • completed: boolean
  • canceled: boolean
const todo1 = {
    title: 'Pick up dry cleaning',
    when: 'today',
};

const todo2 = {
    title: 'Pack for vacation',
    checklist: ["Camera", "Passport"],
};

const todo1Obj = ThingsJSC.todo(todo1);
const todo2Obj = ThingsJSC.todo(todo2);

const url1 = ThingsJSC.url(todo1Obj);
const url2 = ThingsJSC.url(todo2Obj);

// Or combine URLs
const urls = ThingsJSC.url([todo1Obj, todo2Obj]);

Project

  • title: string; title of to-do
  • notes: string; text for notes (max 10K)
  • when: string or date; today, tomorrow, evening, anytime, someday
  • deadline: date
  • tags: array of strings
  • checklist: array; strings or checklistItem
  • areaId: string
  • area: string
  • items: array of to-do or headingItem
  • completed: boolean
  • canceled: boolean

const newProject = {
    title: 'Go Shopping',
};

const project = ThingsJSC.project(newProject);
const url = ThingsJSC.url(project);

Project.addItem(item)

  • item: Heading or To-Do
const newTodo = {
    title: 'Buy mulk',
};
const newProject = {
    title: 'Go Shopping',
};

const project = ThingsJSC.project(newProject);
const todo = ThingsJSC.todo(newTodo);

project.addItem(todo);

const url = ThingsJSC.url(project);

checklistItem

  • title: string; title of to-do
  • completed: boolean
  • canceled: boolean

headingItem

  • title: string; title of to-do
  • archived: boolean

const heading = {
    title: 'New Heading',
}

const heading = ThingsJSC.heading(heading);