![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
A user interface engine for Node.js and io.js, which is based on Qt for rendering. This project can be used to load and play QML file, make it possible to have a easy way to communicate between QML and Node.js. That means developer is able to write desktop application in QML with pure JavaScript.
Ensure Qt 5+ tookits and Node.js 0.10+ are ready to go on your system.
Install module via NPM
npm install brig
There is a simple way to go by loading existed QML file, so you can prepare a QML content like below:
Application.qml
import QtQuick 2.3
import QtQuick.Controls 1.0
ApplicationWindow {
visible: true;
color: 'black';
title: 'Brig Demo';
width: 640;
height: 480;
Text {
anchors.centerIn: parent;
text: 'Brig';
font.family: 'Helvetica';
font.bold: true;
font.pointSize: 72;
color: '#00ffcc';
scale: 0;
opacity: 0;
Text {
anchors.topMargin: 10;
anchors.top: parent.bottom;
anchors.horizontalCenter: parent.horizontalCenter;
text: 'QML Application in Node.js';
font.family: 'Helvetica';
font.pointSize: 16;
color: '#e6fffa';
}
Behavior on opacity {
NumberAnimation {
duration: 800;
easing.type: Easing.OutCubic;
}
}
Behavior on scale {
NumberAnimation {
duration: 1000;
easing.type: Easing.OutBack;
}
}
Component.onCompleted: {
opacity = 1.0;
scale = 1.0;
}
}
}
Then using Brig
to load file in Node.js:
var Brig = require('brig');
var brig = new Brig();
brig.on('ready', function(brig) {
// Loading QML file to play
brig.open('Application.qml', function(err, window) {
// window was opened
});
});
Here is a great countdown timer with Brig
for hackathon event to show off, you can click image to play YouTube video:
Licensed under the MIT License
Copyright(c) 2015-2017 Fred Chien <cfsghost@gmail.com>
FAQs
Graphical render engine for Node.js
The npm package brig receives a total of 9 weekly downloads. As such, brig popularity was classified as not popular.
We found that brig 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.