Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
This is the original version of the project. While there is nothing wrong in using it, we would like to recommend using JSONForms 2+ to you. It contains major improvements to ease development, improve modularity and to remove the dependency on AngularJS. Of course JSONForms 2.x can still be used with Angular, but in addition you can now also use it with React or even standalone.
Please check out jsonforms.io for more information. Users of JSONForms 1 may want to also take a look at the migration guide.
JSONForms extends the AngularJS view model approach by eliminating the need to write HTML templates in order to create forms by leveraging the capabilities of JSON and JSON schema.
npm install jsonforms
and require it via require('jsonforms')
jsf
class attribute.jsonforms
as a dependency to your AngularJS app:var myApp = angular.module('myApp', ['jsonforms', ...])
jsonforms.css
in the head section:<link rel="stylesheet" type="text/css" href="node_modules/jsonforms/dist/jsonforms.css">
jsonforms
element:The simplest example looks like this, where schema
, uiSchema
and data
are
properties of a aliased controller named vm
:
<div class="jsf">
<jsonforms schema="vm.schema" uischema="vm.uiSchema" data="vm.data"></jsonforms>
</div>
For documentation, examples and more information, please see jsonforms.io.
npm install
npm run typings-install
npm run build
(runs tslint
as well)npm run build-bootstrap
npm run build-material
npm run test
npm run dev
(or dev-bootstrap
, dev-material
), point your browser to http://localhost:8080/webpack-dev-server/
JSONForms ships with a couple of examples. The examples' dependencies are managed via bower, hence you'll first need to run the following commands from the project root directory:
cd examples
../node_modules/.bin/bower install
Also make sure that you have followed the instructions for the first time setup in case you haven't done so already.
Now you start the example by running npm run dev
and then pointing
your browser to http://localhost:8080
.
Note that for running the placeholder
example you'll first need to start
jsonplaceholder which provides
a fake REST API. You can do so via
npm run start-placeholder
The JSONForms project is build and tested via Travis. Coverage is documented by Coveralls.
The JSONForms project is licensed under the MIT License. See the LICENSE file for more information.
Our current roadmap is available here.
FAQs
Generating forms for JSON schema
The npm package jsonforms receives a total of 237 weekly downloads. As such, jsonforms popularity was classified as not popular.
We found that jsonforms demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.