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

@genql/flick

v1.0.0

Published

Graphql client

Readme

@genql/flick

Your awesome graphql client ❤️

Example usage

import { createClient } from '@genql/flick'
const client = createClient()



// variables
var getHashtagsFromCaptions__username
var generateCheckoutUrl__addons
var generateCheckoutUrl__planId
var getPosts__username
var getViralPosts__hashtags
var invoicePDF__id
var estimateQueryRestrictiveness__query

client
  .query({
    getHashtagsFromCaptions: [
      {
        username: getHashtagsFromCaptions__username,
      },
      {
        postedAt: true,
      },
    ],
    generateCheckoutUrl: [
      {
        addons: generateCheckoutUrl__addons,
        planId: generateCheckoutUrl__planId,
      },
      {
        id: true,
        type: true,
        url: true,
        expires_at: true,
      },
    ],
    getPosts: [
      {
        username: getPosts__username,
      },
      {
        id: true,
      },
    ],
    metrics: {
      usersRegistered: {
        count: true,
      },
      conversions: {
        date: true,
      },
      isAffiliate: true,
    },
    getViralPosts: [
      {
        hashtags: getViralPosts__hashtags,
      },
      {
        moreAvailable: true,
      },
    ],
    invoicePDF: [
      {
        id: invoicePDF__id,
      },
    ],
    estimateQueryRestrictiveness: [
      {
        query: estimateQueryRestrictiveness__query,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var suggestedHashtags__name
var estimateQueryRestrictiveness__query

client
  .query({
    suggestedHashtags: [
      {
        name: suggestedHashtags__name,
      },
    ],
    estimateQueryRestrictiveness: [
      {
        query: estimateQueryRestrictiveness__query,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var getRankedPosts__hashtag
var getRankedPosts__username
var generateCheckoutUrl__addons
var generateCheckoutUrl__planId
var getPosts__username
var getViralPosts__hashtags
var getViralPostsByHashtag__igUsername
var getViralPostsByHashtag__hashtag

client
  .query({
    getRankedPosts: [
      {
        hashtag: getRankedPosts__hashtag,
        username: getRankedPosts__username,
      },
      {
        url: true,
        shortcode: true,
        lastUpdated: true,
        takenAt: true,
      },
    ],
    generateCheckoutUrl: [
      {
        addons: generateCheckoutUrl__addons,
        planId: generateCheckoutUrl__planId,
      },
      {
        state: true,
        expires_at: true,
        resource_version: true,
        object: true,
      },
    ],
    getPosts: [
      {
        username: getPosts__username,
      },
      {
        image: true,
      },
    ],
    user: {
      activeWorkspace: {
        name: true,
        isOwner: true,
      },
      id: true,
      name: true,
      email: true,
      createdAt: true,
      profilePicture: true,
      referrer: true,
      referrerUrl: true,
      hasLinkedGoogle: true,
      isTrialling: true,
      features: true,
      timezone: true,
    },
    getViralPosts: [
      {
        hashtags: getViralPosts__hashtags,
      },
      {
        posts: {
          counts: {
            comments: true,
            engagement: true,
            impressions: true,
          },
          takenAt: true,
        },
      },
    ],
    getViralPostsByHashtag: [
      {
        igUsername: getViralPostsByHashtag__igUsername,
        hashtag: getViralPostsByHashtag__hashtag,
      },
      {
        posts: {
          counts: {
            likes: true,
            engagement: true,
          },
          mediaType: true,
          permalink: true,
        },
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))




// variables
var getViralPostsByHashtag__igUsername
var getViralPostsByHashtag__hashtag
var hashtagOld__name
var getRankedPosts__hashtag
var getRankedPosts__username
var getHashtagsFromCaptions__username
var getPosts__username
var estimateQueryRestrictiveness__query

client
  .query({
    getViralPostsByHashtag: [
      {
        igUsername: getViralPostsByHashtag__igUsername,
        hashtag: getViralPostsByHashtag__hashtag,
      },
      {
        posts: {
          counts: {
            likes: true,
            saved: true,
          },
          id: true,
          mediaType: true,
        },
      },
    ],
    invoices: {
      id: true,
      date: true,
      currency: true,
      url: true,
      dueDate: true,
      createdDate: true,
      status: true,
    },
    hashtagOld: [
      {
        name: hashtagOld__name,
      },
      {
        averageLikes: true,
        dapc: true,
        opportunity: true,
        rankability: true,
        likesStd: true,
      },
    ],
    getRankedPosts: [
      {
        hashtag: getRankedPosts__hashtag,
        username: getRankedPosts__username,
      },
      {
        url: true,
        shortcode: true,
        lastUpdated: true,
        takenAt: true,
      },
    ],
    getHashtagsFromCaptions: [
      {
        username: getHashtagsFromCaptions__username,
      },
      {
        postedAt: true,
      },
    ],
    getPosts: [
      {
        username: getPosts__username,
      },
      {
        name: true,
        image: true,
        caption: true,
      },
    ],
    user: {
      joyrides: {
        mobileOnboarding: true,
      },
      activeWorkspace: {
        id: true,
        isOwner: true,
      },
      referrer: true,
      referrerUrl: true,
      hasLinkedGoogle: true,
      isTrialling: true,
      features: true,
      hasCompletedRegistration: true,
      timezone: true,
    },
    estimateQueryRestrictiveness: [
      {
        query: estimateQueryRestrictiveness__query,
      },
    ],
  })
  .then(x => console.log(JSON.stringify(x, null, 4)))