![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
prefiks
Advanced tools
Readme
Get the vendors prefixes of a css properties, according to caniuse datas.
Install the module with: npm install prefiks
Include it in your scripts with: prefiks = require( "prefiks" );
The prefiks module exposes a function that can be called by two different forms.
The prefix
functions returns an array with the prefixes to use for the given browser(s) versions (it always returns an array, even empty).
The prefixes are reverse-ordered by length (longest prefix first).
prefiks( feature, browser [, version_range = "*" ] )
feature
is the name of the feature on caniuse website (look at the feat hash value in the URL).browser
is the name of the browser to examine.version_range
is a semver version range to examine.prefiks( feature, browsers )
feature
is the name of the feature on caniuse website (look at the feat hash value in the URL).
browsers
is an object of browsers/version to examine, like :
{ "Internet Explorer": 9, "chrome": "<=30", "firefox": ">28", "opera": "*" }
browser
's aliasesThe supported values for browser
argument are listed bellow. These are case insensitive.
ie
, internet explorer
, internet-explorer
, internet_explorer
, internetexplorer
firefox
, ff
chrome
safari
opera
ios_saf
, ios
op_mini
, opera-mini
, opera_mini
, operamini
android
op_mob
, opera-mobile
, operamobile
, opera_mobile
bb
, blackberry
and_chr
, android-chrome
, android_chrome
, androidchrome
and_ff
, android-firefox
, android_firefox
, androidfirefox
ie_mob
, ie-mobile
, ie_mobile
, iemobile
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Copyright (c) 2014 Leny
Licensed under the MIT license.
FAQs
Get the vendors prefixes of a css properties, according to can i use datas.
The npm package prefiks receives a total of 466 weekly downloads. As such, prefiks popularity was classified as not popular.
We found that prefiks demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.