
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
extjs-custom
Advanced tools
Customized version of Ext JS 4.2.1 with a subset of the functionalities ported for usage in NodeJS. Currently the subset is Xtemplate and Template.
Customized version of Ext JS 4.2.1 with a subset of the functionalities ported for usage in NodeJS.
Functionalities included (indented by hierarchy)
The files in this module are initially copy pasted from Ext JS 4.2.1.883. All Ext.define (with extends) usage is replaced with a plain vanilla Ext.extend method.
##Install## Install with npm
npm install extjs-custom
##Usage##
var Ext = require('extjs-custom');
var data = {
name: 'Don Griffin',
title: 'Senior Technomage',
company: 'Sencha Inc.',
drinks: ['Coffee', 'Water', 'More Coffee'],
kids: [
{ name: 'Aubrey', age: 17 },
{ name: 'Joshua', age: 13 },
{ name: 'Cale', age: 10 },
{ name: 'Nikol', age: 5 },
{ name: 'Solomon', age: 0 }
]
};
var tpl = new Ext.XTemplate('Name: {0}, Age: {1}');
var html = tpl.apply(['John', 25]);
console.log(html)
var tpl = new Ext.XTemplate(
'<p>Name: {name}</p>',
'<p>Title: {title}</p>',
'<p>Company: {company}</p>',
'<p>Kids: ',
'<tpl for="kids">', // interrogate the kids property within the data
'<p>{name}</p>',
'</tpl></p>'
);
var html = tpl.apply(data);
console.log(html)
##License##
ExtJS is a fully licensed product for use in commercial projects or under GPL for open source projects. It is assumed that if you're using node-extjs-custom that you will conform to the licensing requirements of Sencha (http://www.sencha.com/products/extjs/license/).
FAQs
Customized version of Ext JS 4.2.1 with a subset of the functionalities ported for usage in NodeJS. Currently the subset is Xtemplate and Template.
The npm package extjs-custom receives a total of 13 weekly downloads. As such, extjs-custom popularity was classified as not popular.
We found that extjs-custom 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
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.