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

@agentapps/app.factorial

v2.0.3

Published

Manage employees, time off, attendance, and payroll in Factorial HR

Readme

Factorial

Lets an agent read HR data from a Factorial company and make a few changes: it lists employees, teams, time off, attendance shifts, worked time, overtime requests, documents, contract versions, compensations, legal entities and locations, and it can create a time-off request and approve or reject an overtime request. It calls the Factorial API (version 2024-10-01) at https://api.factorialhr.com with the OAuth token of the connected account.

Limits:

  • Most of the app is read-only. It does not create or change employees, documents or contracts, and it has no payroll tools beyond listing compensations.
  • Lists are paged with limit and offset where the tool has them.
  • Calls are not retried, and the app does not refresh an expired access token itself.

Tools

| Tool | What it does | Writes? | |---|---|---| | list-employees | Lists employees, filtered by active state, team or location. | no | | get-employee | Returns one employee by id. | no | | list-teams | Lists the company's teams. | no | | list-team-memberships | Lists which employees belong to which teams. | no | | list-leaves | Lists time-off requests, filtered by employee, status or dates. | no | | get-leave | Returns one time-off request by id. | no | | create-leave | Creates a time-off request for an employee. | yes, asks first | | list-leave-types | Lists the leave types (vacation, sick leave and so on). | no | | list-shifts | Lists attendance shifts, filtered by employee or dates. | no | | list-worked-times | Lists worked time records, filtered by employee or dates. | no | | list-overtime-requests | Lists overtime requests, filtered by employee or status. | no | | approve-overtime | Approves an overtime request. | yes, asks first | | reject-overtime | Rejects an overtime request. | yes, asks first | | list-documents | Lists documents, filtered by employee or folder. | no | | get-document | Returns one document's details by id. | no | | list-contract-versions | Lists employee contract versions. | no | | list-compensations | Lists employee compensation records. | no | | list-legal-entities | Lists the company's legal entities. | no | | list-locations | Lists the company's work locations. | no |

Setup

Register an OAuth application in Factorial (its developer documentation is at https://apidoc.factorialhr.com/docs). Copy its client id and client secret and add the redirect URI the Station uses, {station URL}/auth/callback.

agentapps install app.factorial factorial
agentapps config app.factorial CLIENT_ID:<client id> CLIENT_SECRET:<client secret>
agentapps factorial auth
agentapps factorial tools
agentapps factorial tool list-employees limit:10

CLIENT_ID and CLIENT_SECRET are system secrets: one OAuth client for every installation of the app. agentapps factorial auth signs one installation in and stores its tokens. The sign-in asks for the scopes employees, time_off, time_tracking, documents, contracts, company_locations and company_legal_entities. The tools can see what the connected Factorial user can see.

Terms of use

Factorial's own terms apply to everything the app does on your behalf: https://factorialhr.com/terms-of-use. The data is personal data of employees: handle it as your company's agreement with Factorial and the law require.

Logos

| File | Source | Changes | |---|---|---| | assets/logo.svg | https://factorial.com/images/factorial-logo-square.svg, the logo factorial.com declares for itself | none | | assets/logo-mono.svg | the same file | colour replaced by currentColor so a host can tint it |

The press kit has the same mark in PNG only (946x880).