Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homey

Package Overview
Dependencies
Maintainers
2
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homey - npm Package Compare versions

Comparing version 0.1.0-beta.13 to 2.0.0

index.d.ts

199

index.js

@@ -1,194 +0,5 @@

/*!
* homey v0.1.0-beta.13
* https://github.com/demiazz/homey
*
* Copyright 2017-present Alexey Plutalov <demiazz.py@gmail.com>
* Released under the MIT license
*/
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.toggleClasses = exports.toggleClass = exports.setText = exports.setHtml = exports.setAttr = exports.removeClasses = exports.removeClass = exports.removeAttr = exports.remove = exports.queryAll = exports.query = exports.prepend = exports.parentsBy = exports.parents = exports.parentBy = exports.parent = exports.once = exports.on = exports.matches = exports.html = exports.hasClass = exports.hasAttr = exports.getText = exports.getHtml = exports.getAttr = exports.dispatch = exports.delegate = exports.dataset = exports.closest = exports.body = exports.before = exports.append = exports.after = exports.addClasses = exports.addClass = undefined;
var _addClass = require("./fn/add-class");
var _addClass2 = _interopRequireDefault(_addClass);
var _addClasses = require("./fn/add-classes");
var _addClasses2 = _interopRequireDefault(_addClasses);
var _after = require("./fn/after");
var _after2 = _interopRequireDefault(_after);
var _append = require("./fn/append");
var _append2 = _interopRequireDefault(_append);
var _before = require("./fn/before");
var _before2 = _interopRequireDefault(_before);
var _body = require("./fn/body");
var _body2 = _interopRequireDefault(_body);
var _closest = require("./fn/closest");
var _closest2 = _interopRequireDefault(_closest);
var _dataset = require("./fn/dataset");
var _dataset2 = _interopRequireDefault(_dataset);
var _delegate = require("./fn/delegate");
var _delegate2 = _interopRequireDefault(_delegate);
var _dispatch = require("./fn/dispatch");
var _dispatch2 = _interopRequireDefault(_dispatch);
var _getAttr = require("./fn/get-attr");
var _getAttr2 = _interopRequireDefault(_getAttr);
var _getHtml = require("./fn/get-html");
var _getHtml2 = _interopRequireDefault(_getHtml);
var _getText = require("./fn/get-text");
var _getText2 = _interopRequireDefault(_getText);
var _hasAttr = require("./fn/has-attr");
var _hasAttr2 = _interopRequireDefault(_hasAttr);
var _hasClass = require("./fn/has-class");
var _hasClass2 = _interopRequireDefault(_hasClass);
var _html = require("./fn/html");
var _html2 = _interopRequireDefault(_html);
var _matches = require("./fn/matches");
var _matches2 = _interopRequireDefault(_matches);
var _on = require("./fn/on");
var _on2 = _interopRequireDefault(_on);
var _once = require("./fn/once");
var _once2 = _interopRequireDefault(_once);
var _parent = require("./fn/parent");
var _parent2 = _interopRequireDefault(_parent);
var _parentBy = require("./fn/parent-by");
var _parentBy2 = _interopRequireDefault(_parentBy);
var _parents = require("./fn/parents");
var _parents2 = _interopRequireDefault(_parents);
var _parentsBy = require("./fn/parents-by");
var _parentsBy2 = _interopRequireDefault(_parentsBy);
var _prepend = require("./fn/prepend");
var _prepend2 = _interopRequireDefault(_prepend);
var _query = require("./fn/query");
var _query2 = _interopRequireDefault(_query);
var _queryAll = require("./fn/query-all");
var _queryAll2 = _interopRequireDefault(_queryAll);
var _remove = require("./fn/remove");
var _remove2 = _interopRequireDefault(_remove);
var _removeAttr = require("./fn/remove-attr");
var _removeAttr2 = _interopRequireDefault(_removeAttr);
var _removeClass = require("./fn/remove-class");
var _removeClass2 = _interopRequireDefault(_removeClass);
var _removeClasses = require("./fn/remove-classes");
var _removeClasses2 = _interopRequireDefault(_removeClasses);
var _setAttr = require("./fn/set-attr");
var _setAttr2 = _interopRequireDefault(_setAttr);
var _setHtml = require("./fn/set-html");
var _setHtml2 = _interopRequireDefault(_setHtml);
var _setText = require("./fn/set-text");
var _setText2 = _interopRequireDefault(_setText);
var _toggleClass = require("./fn/toggle-class");
var _toggleClass2 = _interopRequireDefault(_toggleClass);
var _toggleClasses = require("./fn/toggle-classes");
var _toggleClasses2 = _interopRequireDefault(_toggleClasses);
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
exports.addClass = _addClass2.default;
exports.addClasses = _addClasses2.default;
exports.after = _after2.default;
exports.append = _append2.default;
exports.before = _before2.default;
exports.body = _body2.default;
exports.closest = _closest2.default;
exports.dataset = _dataset2.default;
exports.delegate = _delegate2.default;
exports.dispatch = _dispatch2.default;
exports.getAttr = _getAttr2.default;
exports.getHtml = _getHtml2.default;
exports.getText = _getText2.default;
exports.hasAttr = _hasAttr2.default;
exports.hasClass = _hasClass2.default;
exports.html = _html2.default;
exports.matches = _matches2.default;
exports.on = _on2.default;
exports.once = _once2.default;
exports.parent = _parent2.default;
exports.parentBy = _parentBy2.default;
exports.parents = _parents2.default;
exports.parentsBy = _parentsBy2.default;
exports.prepend = _prepend2.default;
exports.query = _query2.default;
exports.queryAll = _queryAll2.default;
exports.remove = _remove2.default;
exports.removeAttr = _removeAttr2.default;
exports.removeClass = _removeClass2.default;
exports.removeClasses = _removeClasses2.default;
exports.setAttr = _setAttr2.default;
exports.setHtml = _setHtml2.default;
exports.setText = _setText2.default;
exports.toggleClass = _toggleClass2.default;
exports.toggleClasses = _toggleClasses2.default;
console.error('Please run your Homey App using the Athom CLI\n');
console.error('npm install --global athom-cli');
console.error('athom app run\n');
console.error('For more information visit https://developer.athom.com');
process.exit(1);
{
"name": "homey",
"version": "0.1.0-beta.13",
"description": "Homey shortcut's collection for DOM API",
"license": "MIT",
"homepage": "https://github.com/demiazz/homey",
"bugs": {
"url": "https://github.com/demiazz/homey/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/demiazz/homey"
},
"author": {
"name": "Alexey Plutalov",
"email": "demiazz.py@gmail.com"
},
"version": "2.0.0",
"description": "type declarations for homey",
"main": "index.js",
"typings": "d.ts/homey.d.ts",
"files": [
"d.ts/homey.d.ts",
"dist/homey.js",
"dist/homey.min.js",
"dist/homey.min.js.map",
"*.js",
"*.js.flow",
"fn/*.js",
"fn/*.js.flow",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"types": "index.d.ts",
"scripts": {
"check": "$(yarn bin)/flow --show-all-errors src",
"pretest": "yarn run check",
"test": "cross-env NODE_ENV=test $(yarn bin)/karma start build/karma/local.js --single-run",
"test:watch": "cross-env NODE_ENV=test $(yarn bin)/karma start build/karma/local.js",
"test:ci": "cross-env NODE_ENV=test $(yarn bin)/karma start build/karma/ci.js",
"build": "node build/bundle/index.js",
"clean": "node build/bundle/clean.js",
"docs": "node build/docs.js",
"prepack": "yarn run build",
"postpack": "yarn run clean",
"version": "yarn run docs && git add -A README.md",
"lint-staged": "$(yarn bin)/lint-staged"
"test": "echo \"Error: no test specified\" && exit 1"
},
"lint-staged": {
"{build,spec,src}/**/*.js": [
"prettier --write",
"eslint",
"git add"
]
"author": "Athom B.V.",
"license": "ISC",
"devDependencies": {
"@types/node": "^12.7.12"
},
"pre-commit": [
"test",
"lint-staged"
],
"devDependencies": {
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-syntax-flow": "^6.18.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-preset-es2015": "^6.24.1",
"chalk": "^2.0.1",
"cross-env": "^5.0.1",
"documentation": "^5.0.1",
"eslint": "^4.3.0",
"eslint-config-airbnb-base": "^11.3.1",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-flowtype": "^2.35.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-prettier": "^2.1.2",
"flow-bin": "^0.51.1",
"jasmine-core": "^2.6.4",
"karma": "^1.7.0",
"karma-coverage": "^1.1.1",
"karma-coveralls": "^1.1.2",
"karma-jasmine": "^1.0.2",
"karma-phantomjs-launcher": "^1.0.2",
"karma-rollup-preprocessor": "^4.0.1",
"karma-sauce-launcher": "^1.1.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "0.0.31",
"klaw-sync": "^2.1.0",
"lint-staged": "^4.0.2",
"mkdirp": "^0.5.1",
"phantomjs-prebuilt": "^2.1.13",
"pre-commit": "^1.2.2",
"prettier": "^1.5.3",
"rollup": "^0.45.2",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-istanbul": "^1.1.0",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-uglify": "^2.0.1",
"uglify-js": "^3.0.26",
"uglify-save-license": "^0.4.1"
"readme": "README.md",
"config": {
"npmPublishTagProduction": "latest",
"skipNpmInstall": true
}
}

@@ -1,85 +0,2 @@

<h1 align="center">homey</h1>
<div align="center">
:hand:&nbsp;&nbsp;<b>+</b>&nbsp;&nbsp;:heart:&nbsp;&nbsp;<b>=</b>&nbsp;&nbsp;:wrench:
</div>
<div align="center">
<strong>Homey shortcut's collection for DOM API.</strong>
<br />
The <code>tiny</code> toolbox for everyday working with DOM.
</div>
<br />
<div align="center">
<!-- NPM version -->
<a href="https://www.npmjs.com/package/homey">
<img src="https://img.shields.io/npm/v/homey.svg?style=flat-square"
alt="NPM version" />
</a>
<!-- Build Status -->
<a href="https://travis-ci.org/demiazz/homey">
<img src="https://img.shields.io/travis/demiazz/homey.svg?style=flat-square"
alt="Build Status" />
</a>
<!-- Test Coverage -->
<a href="https://coveralls.io/github/demiazz/homey">
<img src="https://img.shields.io/coveralls/demiazz/homey.svg?style=flat-square"
alt="Test Coverage" />
</a>
<!-- License -->
<a href="https://github.com/demiazz/homey/blob/master/LICENSE">
<img src="https://img.shields.io/npm/l/homey.svg?style=flat-square"
alt="License" />
</a>
</div>
<div align="center">
<sub>Built with ❤︎ by
<a href="https://twitter.com/demiazz">demiazz</a>.
Sponsored by <a href="http://evilmartians.com">Evil Martians</a>.
</div>
<br />
# Installation
## npm
You can install `homey` from `npm`.
```sh
$ npm install --save homey
```
And use it as CommonJS module:
```js
const homey = require('homey');
```
Or as ES module:
```js
import homey from 'homey';
```
## Browser
Additionally, we provide full and minified UMD versions. Bundles included to
`npm` package, or you can download them from
[unpkg.io](https://unpkg.com/homey@latest/dist/). After just include them
to your HTML:
```html
<script src="homey.umd.min.js"></script>
```
# API
<!-- API: BEGIN --><!-- Generated by documentation.js. Update this documentation by updating the source code. -->
<!-- API: END -->
# License
Released under the [MIT license](https://github.com/demiazz/homey/blob/master/LICENSE).
### Homey Apps SDK
Please visit developer.athom.com for more information.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc