Skip to content

Commit 5997783

Browse files
committed
Initial commit
0 parents  commit 5997783

File tree

12 files changed

+8640
-0
lines changed

12 files changed

+8640
-0
lines changed

.gitignore

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
#------------------------ Node.js ------------------------#
2+
## dependency directories
3+
node_modules/
4+
## lock file
5+
package-lock.json
6+
7+
#------------------------- Logs --------------------------#
8+
npm-debug.log*
9+
yarn-debug.log*
10+
yarn-error.log*
11+
12+
#------------------- Environment files -------------------#
13+
.env
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
#---------------------- Output files ---------------------#
20+
build/
21+
dist/
22+
23+
#---------------------- Cache files ----------------------#
24+
.cache/
25+
*.tmp
26+
*.swp
27+
*.swo
28+
29+
#-------------------------- IDE --------------------------#
30+
## Intellij IDEA
31+
.idea/
32+
33+
## Sublime Text
34+
*.sublime-workspace
35+
36+
## VSCode
37+
.vscode/
38+
39+
#----------------------- OS Files ------------------------#
40+
## macOS
41+
.DS_Store
42+
.AppleDouble
43+
.LSOverride
44+
45+
## Windows
46+
Thumbs.db
47+
ehthumbs.db
48+
Desktop.ini
49+
$RECYCLE.BIN/
50+
51+
## Linux
52+
*~

.npmignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
#------------------------ Node.js ------------------------#
2+
## lock file
3+
package-lock.json
4+
5+
#------------------------- Logs --------------------------#
6+
npm-debug.log*
7+
yarn-debug.log*
8+
yarn-error.log
9+
10+
#---------------------- TypeScript -----------------------#
11+
tsconfig.json
12+
tsconfig.build.json
13+
14+
#------------------- Environment files -------------------#
15+
.env
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
#----------------------- Input files ---------------------#
22+
src/
23+
24+
#------------------------ Project ------------------------#
25+
README.md
26+
LICENSE
27+
28+
# git
29+
.gitignore
30+
.github
31+
32+
## prettier
33+
.prettierignore
34+
.prettierrc
35+
36+
#-------------------------- IDE --------------------------#
37+
## Intellij IDEA
38+
.idea/
39+
40+
## Sublime Text
41+
*.sublime-workspace
42+
43+
## VSCode
44+
.vscode/
45+
46+
#----------------------- OS Files ------------------------#
47+
## macOS
48+
.DS_Store
49+
.AppleDouble
50+
.LSOverride
51+
52+
## Windows
53+
Thumbs.db
54+
ehthumbs.db
55+
Desktop.ini
56+
$RECYCLE.BIN/
57+
58+
## Linux
59+
*~

.prettierignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#-------------------------- NPM --------------------------#
2+
.npmignore
3+
4+
#------------------------ Node.js ------------------------#
5+
## dependency directories
6+
node_modules/
7+
## lock file
8+
package-lock.json
9+
10+
#---------------------- Output files ---------------------#
11+
dist/
12+
13+
#-------------------------- IDE --------------------------#
14+
## Intellij IDEA
15+
.idea/
16+
17+
## Sublime Text
18+
*.sublime-workspace
19+
20+
## VSCode
21+
.vscode/
22+
23+
#----------------------- OS Files ------------------------#
24+
## macOS
25+
.DS_Store
26+
.AppleDouble
27+
.LSOverride
28+
29+
## Windows
30+
Thumbs.db
31+
ehthumbs.db
32+
Desktop.ini
33+
$RECYCLE.BIN/
34+
35+
## Linux
36+
*~

.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "es5",
4+
"printWidth": 100,
5+
"tabWidth": 4,
6+
"semi": true,
7+
"bracketSpacing": true,
8+
"useTabs": true
9+
}

README.md

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Browser Feature Compatibility // [WONDERIUM.DEV](https://wonderium.dev)
2+
3+
This project provides information on the addition of CSS, HTML, and SVG features in the most widely-used browsers, including the latest date of full stable support.
4+
5+
Data on dates is sourced from our package [`@wonderium/browser-releases`](https://github.com/wonderium/browser-releases).
6+
7+
## Installing
8+
9+
To install `@wonderium/browser-feature-compatibility` as a node package, use the npm install command:
10+
11+
```bash
12+
npm install @wonderium/browser-feature-compatibility
13+
```
14+
15+
## Examples
16+
17+
Versions, IDs and dates are provided for example purposes only.
18+
19+
```json
20+
{
21+
"data": [
22+
{
23+
"id": "some-feature-name",
24+
"browsers": {
25+
"chrome": 120,
26+
"chrome_android": 93,
27+
"edge": 93,
28+
"firefox": 92,
29+
"firefox_android": 92,
30+
"safari": 17.2,
31+
"safari_ios": 15
32+
},
33+
"latest_release_date": {
34+
"year": 2023,
35+
"month": 12,
36+
"day": 18
37+
}
38+
}
39+
]
40+
}
41+
```
42+
43+
We have also included some features that may not be supported in one of the listed browsers; therefore, these features do not have a last date but are marked as having limited availability.
44+
45+
```json
46+
{
47+
"data": [
48+
{
49+
"id": "another-feature-name",
50+
"browsers": {
51+
"chrome": 120,
52+
"chrome_android": 93,
53+
"edge": 93,
54+
"firefox": null,
55+
"firefox_android": null,
56+
"safari": 17.2,
57+
"safari_ios": 15
58+
},
59+
"latest_release_date": "Limited availability"
60+
}
61+
]
62+
}
63+
```
64+
65+
---
66+
67+
**Wonderium.dev** is an interactive learning platform for frontend developers.\
68+
Our mission is to make web development studying more practical and understandable.

package.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "@wonderium/browser-feature-compatibility",
3+
"version": "1.0.0",
4+
"description": "This project provides information on the addition of CSS, HTML, and SVG features in the most widely-used browsers, including the latest date of full stable support.",
5+
"main": "dist/index.js",
6+
"types": "dist/index.d.ts",
7+
"scripts": {
8+
"build": "tsc",
9+
"format": "prettier --check 'src/**/*.{js,ts,tsx,json,md}'",
10+
"format:write": "prettier --write 'src/**/*.{js,ts,tsx,json,md}'"
11+
},
12+
"author": "wonderium.dev",
13+
"license": "CC0-1.0",
14+
"repository": {
15+
"type": "git",
16+
"url": "git+https://github.com/wonderium/browser-feature-compatibility.git"
17+
},
18+
"keywords": [
19+
"browser-feature-compatibility",
20+
"browser",
21+
"features",
22+
"support",
23+
"css",
24+
"html",
25+
"svg",
26+
"browser-api",
27+
"data",
28+
"compatibility",
29+
"wonderium",
30+
"wm"
31+
],
32+
"homepage": "https://github.com/wonderium/browser-feature-compatibility#readme",
33+
"devDependencies": {
34+
"@types/node": "^20.14.11",
35+
"prettier": "3.3.3",
36+
"typescript": "^5.5.4"
37+
}
38+
}

0 commit comments

Comments
 (0)