@keith-chen/lead-gen-content
v1.0.4
Published
Reusable content templates and types for lead generation websites.
Maintainers
Readme
lead-gen-content
lead-gen-content is an npm package intended to support a broader system of lead generation websites.
The package is meant to provide reusable content-related logic, structures, and utilities that can be shared across multiple sites in the network. Instead of duplicating the same implementation in each project, this package serves as a centralized module that can be versioned, installed, and updated through npm workflows.
Purpose
This package exists to support lead generation website operations by making shared content functionality easier to maintain across properties.
Typical responsibilities may include:
- content generation helpers
- reusable content templates or schemas
- formatting and transformation utilities
- shared logic used by multiple lead generation sites
How It Fits Into The System
This repository is not intended to represent a complete website on its own. It is a package-level component within a larger ecosystem of lead generation websites and supporting services.
In practice, that means:
- this package can be published or linked as an npm dependency
- multiple lead generation sites can consume the same shared logic
- updates can be made in one place and rolled out across the system
Development
Install dependencies and run the package checks before publishing:
npm install
npm test
npm pack --dry-runThe package compiles TypeScript source files into dist/ and publishes the compiled JavaScript plus declaration files. The prepack script runs the build automatically before npm pack or npm publish.
Installation
npm install lead-gen-contentUsage
import { testTemplate } from "lead-gen-content";
import buymyhousepdx from "lead-gen-content/test-template/buymyhousepdx.com";
console.log(testTemplate.portlandpropertybuyers.home.seoTitle);
console.log(buymyhousepdx.contact);As the codebase evolves, this package can be expanded with implementation code, exports, build tooling, and release workflows appropriate for the wider lead generation platform.
