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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@bigbinary/neeto-crm-frontend

v3.0.0

Published

A repo acts as the source of truth for the new nano's structure, configs, data etc.

Readme

neeto-crm-nano

The neeto-crm-nano facilitates the integration of NeetoCRM with neeto-products. It exports the @bigbinary/neeto-crm-frontend NPM package and neeto-crm-engine Rails engine for development.

Contents

Development with Host Application

Engine

The engine is used to manage CRM functionalities across neeto products.

Installation

  1. Create a config/neeto_crm_engine.yml file and add the required input fields. This file is loaded by the initializer to configure the CRM form. You can edit the fields according to your requirements.

    Example:

    input_fields:
      - value: "email"
        required: true
        allowed_kinds: ["email", "additional_guests"]
      - value: "phone_number"
        required: false
        allowed_kinds: ["phone"]
      - value: "company_name"
        required: false
        allowed_kinds: ["name", "text"]
  2. Add this line to your application's Gemfile:

    source "NEETO_GEM_SERVER_URL" do
      # ..existing gems
    
      gem 'neeto-crm-engine'
    
      # Use this for live development:
      # gem 'neeto-crm-engine', path: "../neeto-crm-nano"
    end
  3. And then execute:

    bundle install
  4. Add this line to your application's config/routes.rb file:

    mount NeetoCrmEngine::Engine, at: "/neeto_crm"

    NOTE: The mount point must be set to /neeto_crm and cannot be changed to any other path to comply with standardization.

  5. Run the following command to copy the migrations from the engine to the host application:

    bundle exec rails neeto_crm_engine:install:migrations
  6. Add the migrations to the database:

    bundle exec rails db:migrate
  7. Run the initializer generator to create the initializer file:

    bundle exec rails g neeto_crm_engine:initializer
  8. In the generated config/initializers/neeto_crm_engine.rb file, specify the owner_class and owner_foreign_key to which the Neeto CRM integration should be attached.

    NeetoCrmEngine.owner_class = "User" # Replace with your owner class
    NeetoCrmEngine.owner_foreign_key = "user_id" # Replace with your foreign key

Frontend package

Installation

  1. Install the latest neeto-crm-frontend package using the below command:

    yarn add @bigbinary/neeto-crm-frontend

Instructions for development

Check the Frontend package development guide for step-by-step instructions to develop the frontend package.

Components

Integrations

This component is the main entry point for the CRM UI. It handles the internal routing and renders the appropriate views based on the provided configuration.

Props

  • integrationConfig (object): A configuration object for the component with the following structure:
    • resource (object): Contains data related to the resource the CRM is attached to.
      • id (string): The ID of the resource.
      • data (array): This refers to the data of the resource.
      • processedData (array): This refers to the records/questions that should be mapped to the CRM fields.
      • invalidateResource (function): A function to refetch or invalidate the resource data.
    • navigation (object): Contains configuration for navigation elements.
      • breadcrumbs (array): An array of breadcrumb objects ({ text: string; path?: string; }).
      • basePath (string): The base path for the CRM routes (e.g., "/crm").
    • help (object): Contains URLs for help documentation.
      • docUrl (string): URL for the documentation page.
      • walkthroughVideoUrl (string): URL for a walkthrough video.

Usage

import React from "react";

import { Integrations } from "@bigbinary/neeto-crm-frontend";
import { BrowserRouter, Route, Switch } from "react-router-dom";
import { ToastContainer } from "react-toastify";

const Main = () => {
  const integrationConfig = {
    resource: {
      id: "123",
      data: [],
      processedData: [],
      invalidateResource: () => console.log("Invalidating resource..."),
    },
    navigation: {
      breadcrumbs: [
        { text: "Settings", path: "/settings" },
        { text: "CRM" },
      ],
      basePath: "/crm",
    },
    help: {
      docUrl: "https://help.example.com/crm",
      walkthroughVideoUrl: "https://videos.example.com/crm-walkthrough",
    },
  };

  return (
    <BrowserRouter>
      <Switch>
        <Route
          path="/crm"
          render={() => <Integrations integrationConfig={integrationConfig} />}
        />
      </Switch>
      <ToastContainer />
    </BrowserRouter>
  );
};

export default Main;

Instructions for Publishing

Consult the building and releasing packages guide for details on how to publish.