{"_id":"@aw-webflow/ess_page_js","name":"@aw-webflow/ess_page_js","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aw-webflow/ess_page_js","version":"1.0.0","description":"Custom JavaScript for a Webflow page, published to npm and served via the jsDelivr CDN.","scripts":{"start":"parcel script.js","test":"echo \"Error: no test specified\" && exit 1"},"license":"ISC","devDependencies":{"parcel":"^2.16.4"},"_id":"@aw-webflow/ess_page_js@1.0.0","gitHead":"ca62ee10a8a78dea5b85db59b58186c42c0a4357","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-U7Z7dbyraNPx7A/DmIHv1ltdP8mZumKRFKWKUZ11i14PXo//5m6j1LSS1bsdcNMmkOoj1VqqyMeDFARcuL8jKg==","shasum":"43470d2c87a93ff650cf9b593f1853cf4f9b175c","tarball":"https://registry.npmjs.org/@aw-webflow/ess_page_js/-/ess_page_js-1.0.0.tgz","fileCount":4,"unpackedSize":21710,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGaFYLHlzh1cUF8VPd+Nnss4fM+Kg0BAbiXOW0qIuZ2LAiAH3+X03s+AIBbSicQCbG64eCRxcSfzM4dhfd7iPxrbiw=="}]},"_npmUser":{"name":"akash-aw","email":"akash.choudhary@atomicwork.com"},"directories":{},"maintainers":[{"name":"akash-aw","email":"akash.choudhary@atomicwork.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ess_page_js_1.0.0_1788775150473_0.3871041417047425"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-07T09:59:10.336Z","1.0.0":"2026-09-07T09:59:10.607Z","modified":"2026-09-07T09:59:10.900Z"},"maintainers":[{"name":"akash-aw","email":"akash.choudhary@atomicwork.com"}],"description":"Custom JavaScript for a Webflow page, published to npm and served via the jsDelivr CDN.","license":"ISC","readme":"# @aw-webflow/ess_page_js\n\nCustom JavaScript for a Webflow page, published to npm and served via the jsDelivr CDN.\n\n## Feature Blocks\n\n`script.js` holds three **independent, self-contained** blocks, staged here before being split into\ntheir own `@aw-webflow` packages. Each block has its own IIFE, helpers, config constants and\nDOM-ready bootstrap — copy a block into a new repo's `script.js` verbatim, no edits needed.\n\n| # | Block | Required markup | Needs |\n|---|-------|-----------------|-------|\n| 1 | Logo marquee animation | `.custo-logos-wrapper` + logo children | GSAP core |\n| 2 | Channel switcher | `.logo-name-wrapper[data-channel]` rows + `.product-screen[data-channel]` screens | GSAP core |\n| 3 | Word-by-word scroll reveal | `#text_wrapper` + `.workforce-display-txt` | GSAP core + ScrollTrigger |\n\nBlocks 1 and 2 were lifted from `@aw-webflow/ai_workforce_home`; block 3 from\n`@aw-webflow/ai_coworkers_page`. Per-block config constants and full markup notes live in the banner\ncomment above each block. GSAP must be loaded on the Webflow page *before* this script.\n\n## Usage via jsDelivr CDN\n\nAdd this to the Webflow page's custom code (before `</body>`):\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@aw-webflow/ess_page_js@1.0.0/script.min.js\"></script>\n```\n\nGeneral form:\n\n```\nhttps://cdn.jsdelivr.net/npm/@aw-webflow/ess_page_js@<version>/script.min.js\n```\n\nAlways pin an explicit version — jsDelivr caches aggressively, and pinning keeps the live site\nstable until you deliberately point it at a new build.\n\n## Deployment Workflow\n\n1. **Push** your changes to GitHub.\n2. **Bump the version** in `package.json` (e.g. `1.0.0` → `1.0.1`).\n3. **Publish to npm:**\n   ```bash\n   npm publish --access public\n   ```\n4. **Update the Webflow script tag** to the new version number, then publish the Webflow site.\n\n## Local Development\n\n```bash\nnpm install\nnpm start\n```\n\n`npm start` runs `parcel script.js` and serves it locally with hot reloading.\n\n## Notes\n\nCode in `script.js` must be **ES5 (`var`, no arrow functions, no template literals)** — it runs\ndirectly in the browser without a transpile step.\n","readmeFilename":"README.md","_rev":"1-6fbfa4dcedf576347809d01d533be143"}