{"_id":"@astra-v0/freeform","_rev":"2-84c689e3cb344a7c6f2843678af884ec","name":"@astra-v0/freeform","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@astra-v0/freeform","version":"1.0.0","keywords":["survey","form","typeform","questionnaire","typescript"],"author":{"name":"Your Name"},"license":"MIT","_id":"@astra-v0/freeform@1.0.0","maintainers":[{"name":"astra-v0","email":"superdeveloper43@gmail.com"}],"homepage":"https://github.com/astra-v0/freeform#readme","bugs":{"url":"https://github.com/astra-v0/freeform/issues"},"dist":{"shasum":"b812e90b4fbbba982b5d9c00334d4896dfa3d91b","tarball":"https://registry.npmjs.org/@astra-v0/freeform/-/freeform-1.0.0.tgz","fileCount":95,"integrity":"sha512-qJTVLuvGSS7sPUv0nUXNLLnNMnsDIrCHJIUI2VWljP3n5MGCk47EtRVsYzTljLnvDRdKLIhWh4Y0jXjgDG17/g==","signatures":[{"sig":"MEYCIQCGUeL/Ieq/uF6oEFFmRHCc+9WwHTzwYW9rbEMC/218+AIhAOlh6kjFHamEgxNhcrKHudmwGDzfOHlVw5h+F96ghvnb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":272819},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"df7f87c7d385fda104ec27deab3593caa8f357d0","scripts":{"ci":"npm run type-check && npm run lint && npm run format:check && npm run build && npm test && npm run demo:build","dev":"tsc --watch","demo":"cd demo-react && npm run dev","lint":"eslint . --ext .ts,.tsx","test":"jest --passWithNoTests","build":"tsc","format":"prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"","lint:fix":"eslint . --ext .ts,.tsx --fix","demo:build":"cd demo-react && npm run build","type-check":"tsc --noEmit","demo:preview":"cd demo-react && npm run preview","format:check":"prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"","prepublishOnly":"npm run build"},"_npmUser":{"name":"astra-v0","email":"superdeveloper43@gmail.com"},"repository":{"url":"git+https://github.com/astra-v0/freeform.git","type":"git"},"_npmVersion":"10.7.0","description":"Programmatic survey builder inspired by Typeform style","directories":{},"_nodeVersion":"22.18.0","dependencies":{"react":">=16.8.0","react-dom":">=16.8.0","lucide-react":"^0.545.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.0.0","vite":"^5.0.0","eslint":"^8.57.0","ts-jest":"^29.0.0","prettier":"^3.2.0","typescript":"^5.0.0","@types/jest":"^29.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","eslint-plugin-react":"^7.34.0","@vitejs/plugin-react":"^4.0.0","@typescript-eslint/parser":"^7.0.0","eslint-plugin-react-hooks":"^4.6.0","@typescript-eslint/eslint-plugin":"^7.0.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/freeform_1.0.0_1760037929112_0.15608297369287394","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@astra-v0/freeform","version":"1.1.0","description":"Programmatic survey builder inspired by Typeform style","main":"dist/index.js","types":"dist/index.d.ts","type":"module","scripts":{"build":"tsc","dev":"tsc --watch","type-check":"tsc --noEmit","lint":"eslint . --ext .ts,.tsx","lint:fix":"eslint . --ext .ts,.tsx --fix","format":"prettier --write \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"","format:check":"prettier --check \"src/**/*.{ts,tsx,js,jsx,json,css,md}\"","ci":"npm run type-check && npm run lint && npm run format:check && npm run build && npm test && npm run demo:build","prepublishOnly":"npm run build","test":"jest --passWithNoTests","demo":"cd demo-react && npm run dev","demo:build":"cd demo-react && npm run build","demo:preview":"cd demo-react && npm run preview"},"keywords":["survey","form","typeform","questionnaire","typescript"],"author":{"name":"Your Name"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/astra-v0/freeform.git"},"homepage":"https://github.com/astra-v0/freeform#readme","bugs":{"url":"https://github.com/astra-v0/freeform/issues"},"devDependencies":{"@types/jest":"^29.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@typescript-eslint/eslint-plugin":"^7.0.0","@typescript-eslint/parser":"^7.0.0","@vitejs/plugin-react":"^4.0.0","eslint":"^8.57.0","eslint-plugin-react":"^7.34.0","eslint-plugin-react-hooks":"^4.6.0","jest":"^29.0.0","prettier":"^3.2.0","ts-jest":"^29.0.0","typescript":"^5.0.0","vite":"^5.0.0"},"dependencies":{"lucide-react":"^0.545.0","react":">=16.8.0","react-dom":">=16.8.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_id":"@astra-v0/freeform@1.1.0","gitHead":"f30402dfd3ccb0f449f66efab62537b40d0b36ab","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-LaYTwxxpDR2jKjwLzxpuIUzbH9WTv0T85ZGn1qFQAF87F1lS0I/lCCMlYJCTsh5Zs3O6VydexwBiwWo1qUiUSg==","shasum":"74c80ed0ef5d9f76fe7da81f3166c0563337472b","tarball":"https://registry.npmjs.org/@astra-v0/freeform/-/freeform-1.1.0.tgz","fileCount":71,"unpackedSize":197866,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDU4BNQGgpYJlagsZEe1ZMzmkLQ55RHpAo9xKA6pOvmPgIhAIw4tC8agmOFkJuvZ0QipJHyj3DLCVNcLXcA50STTi2C"}]},"_npmUser":{"name":"astra-v0","email":"superdeveloper43@gmail.com"},"directories":{},"maintainers":[{"name":"astra-v0","email":"superdeveloper43@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/freeform_1.1.0_1760044433048_0.7570541525616705"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-09T19:25:29.025Z","modified":"2025-10-09T21:13:53.411Z","1.0.0":"2025-10-09T19:25:29.342Z","1.1.0":"2025-10-09T21:13:53.243Z"},"bugs":{"url":"https://github.com/astra-v0/freeform/issues"},"author":{"name":"Your Name"},"license":"MIT","homepage":"https://github.com/astra-v0/freeform#readme","keywords":["survey","form","typeform","questionnaire","typescript"],"repository":{"type":"git","url":"git+https://github.com/astra-v0/freeform.git"},"description":"Programmatic survey builder inspired by Typeform style","maintainers":[{"name":"astra-v0","email":"superdeveloper43@gmail.com"}],"readme":"# Freeform\n\nLightweight survey builder with Typeform-style UI.\n\n[![React Demo](/assets/demo.gif)](demo-react/)\n\n## Features\n\n- Text\n- Choice\n- Feedback  \n- Info/notice\n- Social\n\n[![React Demo](/assets/demo2.gif)](demo-react/)\n\n## Installation\n\n```bash\nnpm install @astra-v0/freeform\n```\n\n## Usage\n\n```tsx\nimport { SimpleSurvey } from '@astra-v0/freeform';\n\nfunction App() {\n  const questions = [\n    {\n      title: 'What is your name?',\n      type: 'text',\n      required: true\n    },\n    {\n      title: 'Your experience level?',\n      type: 'choice',\n      options: ['Beginner', 'Intermediate', 'Advanced']\n    }\n  ];\n\n  return (\n    <SimpleSurvey \n      questions={questions}\n      onComplete={(result) => console.log(result)}\n    />\n  );\n}\n```\n\n## Question Types\n\n`text` • `choice` • `feedback`\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}