Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
survey-angular-ui
Advanced tools
survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.
A free and open-source MIT-licensed JavaScript form builder library that allows you to design dynamic, data-driven, multi-language survey forms and run them in your Angular applications.
NOTE: SurveyJS for Angular requires Angular v12.0.0 or newer and depends on the
@angular/cdk
package. If your project does not include it yet, run the following command:npm install @angular/cdk@^12.0.0 --save
Earlier Angular versions are supported by the
survey-angular
package. It depends on Knockout and is now obsolete. However, you can use it in your Angular v8–v11 projects. Refer to the following examples on GitHub for more information:
To get started with SurveyJS Angular Form Library, refer to the following tutorial: Add a Survey to an Angular Application.
Clone the repo
git clone https://github.com/surveyjs/survey-library.git
cd survey-library
Install dependencies common for all SurveyJS libraries
Make sure that you have Node.js v14 or later and a compatible npm version installed.
npm install -g karma-cli
npm install
Build the platform-independent part and plugins
npm run build_core
npm run build-plugins
Install SurveyJS Angular Form Library dependencies and build this library
cd packages/survey-angular-ui
npm i
npm run build
You can find the built scripts and style sheets in folders under the build
directory.
Run a test application
cd example
npm i
cd packages/survey-angular-ui
npm run serve:example
This command runs a local HTTP server at http://localhost:4200/.
Run unit tests
npm run test
The unit tests use Karma.
SurveyJS Form Library is distributed under the MIT license.
FAQs
survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.
The npm package survey-angular-ui receives a total of 5,341 weekly downloads. As such, survey-angular-ui popularity was classified as popular.
We found that survey-angular-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.