New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bs-notify

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bs-notify - npm Package Compare versions

Comparing version 1.0.0-beta to 2.0.0

21

package.json
{
"url": "https://github.com/odahcam/bootify",
"name": "bs-notify",
"version": "1.0.0-beta",
"author": "machado@odahcam.com"
"name": "bs-notify",
"version": "2.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/npm/deprecate-holder.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/npm/deprecate-holder/issues"
},
"homepage": "https://github.com/npm/deprecate-holder#readme"
}

74

README.md

@@ -1,73 +0,5 @@

# Bootify
## A [*Boot*][0]strap 3 Not[*ify*][1]ing Plugin
Floating page push notifications with **Bootstrap 3**.
# Deprecated Package
[0]: getbootstrap.com.br
[1]: github.com/odahcam/bootify
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name.
### Default Settings
```javascript
bootify({
message: 'Helo!',
type: 'info',
position: 'bottom-center',
icon: undefined,
timeout: false,
animationDuration: 300,
dismissable: true
});
```
### Options Settings
To use your own settings, take the default example above and replace with your values. You can also remove the keys you will not change.
Option | Default Value | Descrition
:--- | :--- | :---
`message` | `'Helo!'` | Any, **any**, HTML String!
`type` | `'info'` | A raw string that can be any of Bootstrap 3 alert type classes without the `alert-` preffix. [Available types](#types).
`icon` | based on choosen `type` OR `undefined` | An icon following the standard Bootstrap 3 glyphicons name without the `glyphicon-` preffix. [Icons choosen by type](#icon-defaults).
`position` | `'bottom-center'` | A raw string with two segments of align separated by hypehn follo0wing the pattern: `vertical-horizontal`. [Supported positions](#supported-positions).
`timeout` | `false` | The time in seconds for hide the notification (`.alert` element). If `false` or `0`, the notification will not auto-hide.
`dismissable` | `true` | Shows or hides the dismiss × button. It can be `true` or `false`.
`animationDuration` | `300` | The notification hide animation duration in milliseconds (`ms`).
#### Types
The alert types available, for styling:
- info
- success
- warning
- danger
[See more about Bootsrap `alert`s](https://getbootstrap.com/components/#alerts).
#### Supported Positions
Supported | Sinonymus
:---: | :---:
`top-center` | `top`
`top-left` | `left-top`
`top-right` | `right-top`
`bottom-center` | `bottom`
`bottom-left` | `left-bottom`
`bottom-right` | `right-bottom`
#### Icon Defaults
By default, if it's not defined, it will turn into an icon choosen by the type:
```javascript
{
warning: 'exclamation-sign',
success: 'ok-sign',
danger: 'remove-sign',
info: 'info-sign'
}
```
----
Good Luck.
Please contact support@npmjs.com if you have questions about this package.
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