# @ariaminaei/stupid-dom-interface

> Simple class for setting and getting DOM element properties

Latest version **1.0.0** (published 2015-05-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ariaminaei/stupid-dom-interface
pnpm add @ariaminaei/stupid-dom-interface
yarn add @ariaminaei/stupid-dom-interface
bun add @ariaminaei/stupid-dom-interface
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-05-21 |
| First published | 2015-05-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | pouriaMaleki |
| Maintainers | ariaminaei |
| Keywords | DOM, Style |

## Links

- npm: https://www.npmjs.com/package/@ariaminaei/stupid-dom-interface
- Repository: https://github.com/AriaMinaei/stupid-dom-interface
- Homepage: https://github.com/AriaMinaei/stupid-dom-interface#readme
- Issues: https://github.com/AriaMinaei/stupid-dom-interface/issues
- npm.io page: https://npm.io/package/@ariaminaei/stupid-dom-interface

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-05-21

## README

(work in progress)

beta testing:

	DUM = require 'StupidDOMInterface'

	element = document.querySelector('.element')

	# optional init

	props =

		height: 200
		width: 300

		opacity: .8

		top: 100
		left: 120
		bottom: 200
		right: 400

		textShadowH: 5
		textShadowV: 10
		textShadowColor: [255, 100, 50]

		textShadowBlur: 10

		rotateX: 10
		rotateY: 20
		rotateZ: 40

		x: 20
		y: 30
		z: 40

		localX: 100
		localY: 102
		localZ: 103

		scaleX: 1.1
		scaleY: 1.1
		scaleZ: 1.1

		skewX: 20
		skewY: 30

		perspective: 400

	dumElement1 = new DUM(element, props)
	.x(400)
	.y(200)

	console.log dumElement1.getX()


	dumElement2 = DUM('.hello', props)
	.inside(document.body)
	.html('custom html')
	.set('someVar', 'some value')

	console.log dumElement2.get('someVar')
	console.log dumElement2.current('width')

---
_Source: https://npm.io/package/@ariaminaei/stupid-dom-interface · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
