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

actually-written

v0.2.1

Published

Record how answers in your forms were written, then review each submission's writing evidence.

Downloads

3,069

Readme

Actually Written

Record how the answers in your forms were written. Review recorded submissions at https://actuallywritten.com/submissions.

npm install actually-written
import { track } from "actually-written";

track(document.querySelector("form"), { key: "aw_pk_…" });

Get your public key at https://actuallywritten.com/keys. It is safe to commit.

The SDK sends recordings directly to Actually Written for scoring and review. No custom upload server or provider integration is required.

An optional <div class="actually-written-badge"></div> inside the form shows people that their writing is recorded.

Recording uploads in the background. Native submission, buttons, and navigation remain unchanged.

React

Start tracking on mount and call the returned session.stop() on unmount. If you handle submission yourself, keep the session in a ref and follow the JavaScript instructions below.

JavaScript submissions

Keep the session returned by track(). Call void session.submit() in your existing final-submit handler before resetting or navigating. Keep the existing validation and application-saving logic. Never make form submission depend on recording success.

Uploads retry in the background. Repeated calls to submit() retry the same frozen recording.

Link a recording

Store the hidden actually_written_session field with your application. For JSON payloads, use the current session.id. Calling form.reset() starts a new session for the next application.

Forms across pages

Pass the same sessionId to track(form, { key, sessionId }) on each page. Store the UUID with your application or account and restore it after email verification. Call stop() between pages and submit() only after the final step succeeds. All steps contribute to one submission.

Drafts and new edits upload periodically. A small submission marker is sent independently of pending history. A session is a draft until submitted. The server counts a submission once and assesses the evidence received.

submit() still returns a delivery promise for diagnostics. Do not await it in the form's submission flow. Closing a browser or losing connectivity can leave incomplete evidence; the application still submits normally.

Privacy

Draft answers and edit histories are uploaded while the form is being filled out, including forms that are abandoned. Tell people about recording in your privacy notice. Final answers, behavior counters, and edit histories are retained with the submission. Submission histories are excluded from writing-data training exports.

Full documentation: https://actuallywritten.com/docs