mysqljs /
mysql
A pure node.js JavaScript Client implementing the MySQL protocol.
Loading repository data…
evyros / repository
A pure Javascript solution for auto-grow / expand a textarea element by its content.
A pure javascript solution for automatically growing textarea element on typing.
A full explanation of the code can be found on my blog post along with a jQuery plugin and an Angular directive with this technique.
bower install textarea-autogrow
npm install textarea-autogrow
Just include textarea-autogrow.js file in <head> tag or require it:
<script type="text/javascript" src="textarea-autogrow.js"></script>
var Autogrow = require('textarea-autogrow');
Then initialize the magic:
var textarea = document.getElementById('myTextarea');
var growingTextarea = new Autogrow(textarea);
It's also recommended to add those two CSS properties to make things stable:
#myTextarea {
resize: none;
box-sizing: content-box;
}
Just place a second argument on initialization:
var growingTextarea = new Autogrow(textarea, 3); // up to 3 lines height
You can set the initial row number using simple HTML attribute rows:
<textarea id="myTextarea" rows="1"></textarea>
Selected from shared topics, language and repository description—not editorial ratings.
mysqljs /
A pure node.js JavaScript Client implementing the MySQL protocol.
purescript /
A strongly-typed language that compiles to JavaScript
isomorphic-git /
A pure JavaScript implementation of git for node and browsers!
Orillusion /
Orillusion is a pure Web3D rendering engine which is fully developed based on the WebGPU standard.
GargantuaX /
A high-performance, 100% client-side tool for removing Gemini AI image & video watermarks. Built with pure JavaScript using mathematically precise Reverse Alpha Blending. / 基于 JavaScript 的纯浏览器端 Gemini AI 图像和视频无损去水印工具,使用数学精确的反向 Alpha 混合算法
TarekRaafat /
Simple autocomplete pure vanilla Javascript library.