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

dombili

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dombili - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

.eslintrc

22

index.js

@@ -0,8 +1,18 @@

/* |\__.__/|
* ) (
* =\ /= .
* | )=====( * '
* | / \ * *
* | / dombili \ + '*
* * \ /
* _/\_/\_/\_, ,_/_/\_/\_/\_/\_/\_/\_/\_/\_/\_
* ) ) This project is a part of the
* ( ( “Byte-Sized JavaScript” videocasts.
* ) ) Watch “Byte-Sized JavaScript” at: https://bytesized.tv
* (__( MIT licensed — See LICENSE.md
* Send your comments, suggestions, and feedback to me@volkan.io
*/
const scrollTop = () => window.pageYOffset ||
( document.documentElement && document.documentElement.scrollTop ) ||
document.body.scrollTop;
import * as dombili from './src';
const scrollToTop = () => window.scrollTo(0, 0);
export { scrollToTop, scrollTop };
export default dombili;
{
"name": "dombili",
"version": "0.5.0",
"version": "0.6.0",
"description": "Dombili knows your DOM.",
"main": "index.js",
"scripts": {
"lint": "bin/lint.sh",
"test": "bin/test.sh",
"doc": "bin/doc.sh"
},
"repository": "git@github.com:jsbites/dombili.git",
"author": "Volkan Özçelik <me@volkan.io> (https://volkan.io)",
"license": "MIT"
"license": "MIT",
"dependencies": {},
"devDependencies": {
"babel-eslint": "^7.2.3",
"eslint": "^3.19.0",
"eslint-config-jsbites": "^0.5.0",
"eslint-plugin-babel": "^4.1.1",
"ink-docstrap": "^1.3.0",
"jsdoc": "^3.4.3"
}
}

Sorry, the diff of this file is not supported yet

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