
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@doist/todoist-quickadd
Advanced tools
Add the powerful Todoist Quick Add anywhere on the web. The experience is simple, beautiful, and fast.
The Todoist Quick Add also supports all of the powerful features, such as natural language parsing.
npm install @doist/todoist-quickadd
# or
yarn add @doist/todoist-quickadd
import { showQuickAdd } from '@doist/todoist-quickadd'
showQuickAdd({
content: 'Hello world',
priority: 3,
date: 'today',
})
import { useState, useEffect } from 'react'
import { showQuickAdd } from '@doist/todoist-quickadd'
function Todoist() {
const [content, setContent] = (useState < string) | (null > null)
// Set up store listener
useEffect(() => {
const todoistListener = Store.addListener(() => {
setContent(TodoistStore.getState().content)
})
return () => todoistListener && todoistListener.remove()
}, [])
// Handle content change
useEffect(() => {
function onLoadingError() {
alert('Could not load Todoist Quick Add. Please try again later.')
}
if (content) {
StoreActions.resetContent()
showQuickAdd({
content: content,
onLoadingError: onLoadingError,
})
}
}, [content])
return null
}
The showQuickAdd function can take the following parameters. All of them are
optional:
| Name | Type | Description |
|---|---|---|
| content | string | The preset content |
| priority | number between 1 and 4 | The preset priority |
| theme | number between 1 and 11 | Force a specific Todoist theme (e.g, 2 for Todoist Red,and 11 for Todoist Darkmode) |
| project_id | number | The preset project (by default it's the Inbox) |
| onAdd | (item: any) => void | Callback that will be called when a task is added. |
| onClose | () => void | Callback that will be called when the Quick Add is closed |
| onLoadingError | () => void | Callback that will be called when the Quick Add fails to load |
| todoistHost | string | An optional Todoist host, e.g. staging.todoist.com |
We're maintaining a changelog in this repository. Our versioning follows semantic versioning.
A new version of todoist-quickadd is published both on npm and GitHub Package Registry whenever a new release on GitHub is created. A GitHub Action will automatically perform all the necessary steps.
The Action will release the version number that's specified inside the package.json's version field so make sure that it reflects the version you want to publish. Additionally, the Action can be triggered manually in case something went wrong in the automation.
Contributions are welcome.
This project is distributed under the MIT License.
FAQs
Add Todoist QuickAdd anywhere on the web
The npm package @doist/todoist-quickadd receives a total of 78 weekly downloads. As such, @doist/todoist-quickadd popularity was classified as not popular.
We found that @doist/todoist-quickadd demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.