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

@timesheet/plugin-asana

v1.5.1

Published

Synchronize Timesheet todos and time entries with Asana

Readme

Asana Sync

Synchronize Timesheet todos and time entries with Asana.

Bidirectional synchronization between Timesheet and Asana. Timesheet todos are mirrored 1:1 with Asana tasks in the mapped project, and Timesheet time entries attached to a todo are logged as Asana time-tracking entries on the corresponding task. Changes made in Asana flow back through webhooks and scheduled syncs.

  • Package: @timesheet/plugin-asana
  • Manifest id: asana-sync
  • Category: project-management

Authentication

OAuth 2.0 against Asana.

Configuration

| Option | Required | Default | Description | | --- | --- | --- | --- | | syncDirection | yes | bidirectional | One of bidirectional, timesheet-to-asana, asana-to-timesheet. | | workspaceId | no | | Optional. When set, project lookups are scoped to this Asana workspace gid. |

Mappings

  • Project mapping: Timesheet project to Asana project.
  • User mapping: Timesheet user to Asana user. Optional, and only needed for teams. The candidates are the members of the configured workspace, or of every workspace the token can see when none is configured.

Triggers

  • Todo Changed (event): syncs todo create, update, and delete events to Asana tasks.
  • Time Entry Changed (event): logs Timesheet time entries as Asana time-tracking entries.
  • Asana Webhook (webhook): receives inbound task changes from Asana.
  • Scheduled Full Sync (daily at 02:00 UTC): runs a complete reconciliation sync.
  • Manual Sync (user action): runs a full sync from the integration settings page.

Organization installs

Inbound work runs as the installing admin, so without a user mapping every member's imported time is booked on that admin. With the mapping in place, an imported time entry is booked on the member behind its created_by. Once any user is mapped, records belonging to someone this installation has not mapped are skipped rather than booked on the admin: attribution is create-only, because TaskUpdateInput carries no userId, so a wrong owner can never be corrected afterwards.

Outbound attribution is not possible: Asana marks created_by on a time tracking entry as read-only, so entries Timesheet writes always appear under the connected Asana account. Only the inbound direction can be attributed per member.

Development

npm install        # or: npm ci
npm run build      # compile TypeScript into dist/
npm run typecheck

The package ships dist/ and manifest.json; the sandboxed plugin runtime loads it by package name, version, and integrity. Shared tests live in integrations/tests/ and run from the integrations/ root with npm test.