-
svelte-star-rating
Simple Svelte component, with no dependencies, for implementing and capturing assessments through a simple and intuitive interface that will take you to the stars. ✨
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
{ "name": "@ernane/svelte-star-rating", "version": "1.0.0", "description": "Simple component to assign scores based on stars.", "main": "dist/index.js", "module": "dist/index.mjs", "svelte": "src/index.js", "scripts": { "build": "rollup -c", "dev": "rollup -c -w" }, "homepage": "https://github.com/ErnaneJ/svelte-star-rating", "bugs": { "url": "https://github.com/ErnaneJ/svelte-star-rating/issues" }, "repository": { "type": "git", "url": "git+https://github.com/ErnaneJ/svelte-star-rating.git" }, "keywords": [ "svelte", "star", "ratting", "component", "sapper" ], "author": "ernane ", "license": "MIT", "devDependencies": { "rollup": "^2.39.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-svelte": "^7.1.0", "svelte": "^3.32.3" } }
When it comes to a project that uses the same technology, in the case that we will see in this post Svelte for example, you can create a component and publish it as a package in NPM and reuse it whenever you need it. That's what we'll see here! for cases where the projects do not share the same technology, this is a matter for another time. But if you like spoilers you can read about WebComponents.
Official NPM documentation;