Development tools for Tandem's Paperclip component system. Version 1.0.3. This package is intended to scan project directories for .pc (Paperclip) files, filter components with <meta name="preview" />, generate preview hashes based on <meta name="hash" value="[generated by tandem]">, generate .d.ts files, and keep Paperclip files organized. It also includes a vanilla transpiler for Paperclip templates, with support for hooks like import, style, if conditions, event registering, and repeat. The package appears to be in early development with many TODOs remaining. No release cadence documented. Key differentiator: integrates with Tandem's visual editor ecosystem and the Paperclip component format.
npm install tandem-paperclip-dev-toolsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Scans for Paperclip files in a directory and transpiles them using the built-in Transpiler.
Pin to a specific version and test upgrades manually; treat as pre-1.0.
Wrap imports in a // @ts-ignore comment or create a .d.ts declaration file manually.
Avoid using event registrator features until a stable release; use manual DOM event handlers instead.
Pass a specific directory or use glob patterns to exclude node_modules.
Wait for future updates; avoid using these tags in templates if you need transpilation.
Run npm install tandem-paperclip-dev-tools or check package.json for correct name.
Check the import: import { Transpiler } from 'tandem-paperclip-dev-tools'. Try transpiler['transpile'] or inspect the instance.Use a // @ts-ignore comment before import or add a declaration module in a .d.ts file: declare module 'tandem-paperclip-dev-tools';
Install tandem-paperclip: npm install tandem-paperclip.