Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ngus gives Angular 2 developers access to Famo.us DOMElement and Mesh inside of templates. This library allows engineers to bind Angular 2 properties to Famo.us Objects for fast, efficient templating.
v0.0.2
ngus gives Angular 2 developers access to Famo.us DOMElement and Mesh inside of templates. This seed project sets up the very minimal needed to develop ngus projects.
ngus allows developers to declare Famous Components like DOMElement and Mesh in Angular 2 template syntax. Bind properties on fa-node
, fa-element
, and fa-mesh
to Angular Components.
<fa-node [origin]="[0.5,0.5,0.0]"
[align]="[0.25,0.25,0.0]"
[sizeMode]="['absolute','absolute', 'absolute']"
[absoluteSize]="[200,200,200]"
[opacity]="0.25"
[component]="famousComponent">
<fa-element [properties]="{backgroundColor:'cyan', textAlign:'center', paddingTop: '40%'}"
[content]="'<h5>Hello World</h5>'">
</fa-element>
</fa-node>
Create your own Famous Components inside ES6 Classes. In the example below, famousComponent
is a property on the Class App
bound to the [component]
property in the template above.
class App {
famousComponent: Object;
constructor() {
this.famousComponent = {
id: null,
node: null,
onMount: function (node) {
this.id = node.addComponent(this);
node.requestUpdate(this.id);
this.node = node;
},
onUpdate: function (time) {
this.node.setRotation(0,time / 832,0);
this.node.requestUpdateOnNextTick(this.id);
}
};
}
}
ngus is written in Typescript, however you can choose to write your Angular 2 apps in ES5 or ES6. npm install ngus
will install the latest version of the ngus library. ngus is transpiled into amd, commonjs, systemjs, and ES6 modules. You can find these variants nside the /dist
folder.
###Demo
A demo of ngus is running at ngus.io.
###Seed Project
Get started developing with ngus quickly with this seed project. ngus-seed tracks the latest version of ngus.
https://github.com/steveblue/ngus-seed.
###Install
npm install ngus --save
ngus is written in Typescript, however you can choose to write your Angular 2 apps in ES5 or ES6. npm install ngus will install the latest version of the ngus library. ngus is transpiled into amd, commonjs, systemjs, and ES6 modules. You can find these variants nside the /dist folder. If you prefer Typescript, a definition file for ngus is provided in the ngus-seed repo.
###Roadmap
FAQs
ngus gives Angular 2 developers access to Famo.us DOMElement and Mesh inside of templates. This library allows engineers to bind Angular 2 properties to Famo.us Objects for fast, efficient templating.
The npm package ngus receives a total of 1 weekly downloads. As such, ngus popularity was classified as not popular.
We found that ngus 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.