
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
A lightweight javascript windowing library. Provides a few basic operations: Resize, collapse, close and maximize. This library is primarily meant for being able to spawn a window with arbitrary content - I.E it works best as being nothing but a wrapper a
Demo: https://rawgit.com/yngve-sk/lww.js/master/demo-v2/index.html
Note: The text area inside the windows contain the configuration JSON object to get the window in its current state. Disregard the containerHandles in the config - these are calculated and does not need to be specified at all in the initial config.
Screenshots:

Lightweight JS windowing library. Features:
Inspired by on drag-resize-snap by arctelix ( https://github.com/arctelix/drag-resize-snap ).
npm install lww.js
TODO, see demo/ to see how it is used.
When injecting angular content, the window must be placed within the ng-app container. If your ng-app is simply the body of the document this will not be a problem. Otherwise, if your ng-app is inside another element, pass in that element:
LWWManager.setParent(ngAppContainerElement)
Contributions + bug reports/fixes are very welcome, the source code is (hopefully) pretty straight forward. The code is divided into only 3 classes, and most of the code in window class is purely boilerplate.
But please note:
I want to keep the dependencies of this project to an absolute minimum, but if it can be justified of course adding an npm import is OK.
If you only need one or two functions, such as underscore.js rather paste the source of those two functions in the helper-bundle file. Otherwise please do not make pull requests requiring Bootstrap, JQuery and such, just use pure javascript.
FAQs
A lightweight javascript windowing library. Provides a few basic operations: Resize, collapse, close and maximize. This library is primarily meant for being able to spawn a window with arbitrary content - I.E it works best as being nothing but a wrapper a
We found that lww.js 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.