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

hooks-date

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hooks-date - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

32

package.json
{
"name": "hooks-date",
"version": "0.1.1",
"version": "0.1.2",
"packageManager": "pnpm@6.32.3",

@@ -40,14 +40,2 @@ "description": "",

"sideEffects": false,
"scripts": {
"build": "rimraf dist && unbuild",
"dev": "unbuild --stub",
"docs": "vitepress dev src --open",
"lint": "eslint src",
"fix": "eslint src --fix",
"prepublishOnly": "nr build",
"release": "bumpp --commit --push --tag && pnpm publish",
"start": "esno src/index.ts",
"test": "vitest",
"typecheck": "tsc --noEmit"
},
"dependencies": {

@@ -60,2 +48,3 @@ "vue": "^3.2.33"

"@types/fs-extra": "^9.0.13",
"@types/lodash": "^4.14.182",
"@types/node": "^17.0.23",

@@ -72,2 +61,3 @@ "@vue/test-utils": "^2.0.0-rc.18",

"jsdom": "^19.0.0",
"lodash": "^4.17.21",
"pkgroll": "^1.0.4",

@@ -85,3 +75,15 @@ "pnpm": "^6.32.6",

"vitest": "^0.9.3"
}
}
},
"scripts": {
"build": "rimraf dist && unbuild",
"dev": "unbuild --stub",
"docs": "vitepress dev src --open",
"lint": "eslint src",
"fix": "eslint src --fix",
"release": "bumpp --commit --push --tag && pnpm publish",
"start": "esno src/index.ts",
"test": "vitest",
"typecheck": "tsc --noEmit"
},
"readme": "# hooks-date\n\n[![NPM version](https://img.shields.io/npm/v/hooks-date?color=a1b858&label=)](https://www.npmjs.com/package/hooks-date)\n\n## 📦 Install\n```\nnpm i hooks-date\n```\n## CDN\n```html\n<script src=\"https://unpkg.com/hooks-date\"></script>\n```\n## 🦄 Usage\n\n```ts\nimport { useDate } from 'hooks-date'\nconst date = useDate(new Date())\n```\n\n## 🌸 Inspirations\n\n- [vueuse](https://github.com/vueuse/vueuse)\n- [dayjs](https://github.com/iamkun/dayjs)\n\n## Template License\n\n[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu)\n"
}

@@ -5,4 +5,24 @@ # hooks-date

## 📦 Install
```
npm i hooks-date
```
## CDN
```html
<script src="https://unpkg.com/hooks-date"></script>
```
## 🦄 Usage
```ts
import { useDate } from 'hooks-date'
const date = useDate(new Date())
```
## 🌸 Inspirations
- [vueuse](https://github.com/vueuse/vueuse)
- [dayjs](https://github.com/iamkun/dayjs)
## Template License
[MIT](./LICENSE) License © 2022 [Anthony Fu](https://github.com/antfu)
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