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

n8n-nodes-aiml-image

v0.2.0

Published

n8n nodes for FriendGrid (SendGrid) and AIML API image generation

Readme

n8n-nodes-awesome-n8n (FriendGrid)

Custom n8n node that creates contacts in SendGrid Marketing via the FriendGrid example.

  • Node name (search in editor): FriendGrid
  • Internal name: friendGrid
  • Credential: FriendGrid API (API Key)

Installation

Local development/test install, following the official guide Test your node:

  1. Build the package in this repo root:
    npm run build
    npm link
  2. Link into your n8n custom directory (create if missing):
    • Windows: %USERPROFILE%\.n8n\custom
    • macOS/Linux: ~/.n8n/custom
    cd ~/.n8n/custom
    npm init -y
    npm link n8n-nodes-awesome-n8n
  3. Start n8n:
    n8n start
  4. In the editor, search for “FriendGrid”.

Operations

  • Resource: Contact
    • Operation: Create
      • Creates/updates a marketing contact in SendGrid
      • HTTP: PUT https://api.sendgrid.com/v3/marketing/contacts

Parameters

  • Email (string, required): Email address of the contact.
  • Additional Fields (collection, optional):
    • First Name (first_name)
    • Last Name (last_name)

The node supports multiple input items using getInputData() and will send each item’s contact in the contacts array as described in the docs Step 3.5 – Add operations.

Credentials

  • FriendGrid API (API Key)
    • Header: Authorization: Bearer <API_KEY>
    • Test request: GET https://api.sendgrid.com/v3/marketing/contacts

Create the credential in n8n and select it on the node.

Usage

  1. Add the FriendGrid node.
  2. Set Resource = Contact, Operation = Create.
  3. Enter Email or map it from previous nodes.
  4. Optionally set Additional Fields.
  5. Execute the workflow.

Compatibility

  • Node.js >= 20
  • n8n 1.x

Development

npm run dev        # tsc --watch
npm run build      # compile to dist and copy icons
npm run lint       # check
npm run lintfix    # fix

If the icon doesn’t show, ensure the node’s icon points to an SVG present in the same folder (nodes/FriendGrid/sendGrid.svg), then rebuild.

Troubleshooting

  • The node doesn’t appear in the editor:
    • Ensure you searched for the node name “FriendGrid”, not the package name.
    • Verify the link in your custom directory: npm link n8n-nodes-awesome-n8n.
    • Restart n8n after rebuilding.
  • Icon shows a broken image:
    • Ensure icon: { light: 'file:sendGrid.svg', dark: 'file:sendGrid.svg' } and the SVG exists.
  • Multiple items processing:
    • The node loops over input items using getInputData() per the official guide.

Resources

License

MIT