Projektstart
This commit is contained in:
21
backend/node_modules/tlds/LICENSE
generated
vendored
Normal file
21
backend/node_modules/tlds/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2013 Stephen Mathieson and 2020 Richie Bendall
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
18
backend/node_modules/tlds/Readme.md
generated
vendored
Normal file
18
backend/node_modules/tlds/Readme.md
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# tlds
|
||||
|
||||
List of TLDs from [ICANN](https://www.icann.org/resources/pages/tlds-2012-02-25-en).
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
npm install tlds
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const tlds = require("tlds");
|
||||
|
||||
console.log(tlds);
|
||||
//=> ['aaa', 'aarp', 'abarth', 'abb', 'abbott', 'abbvie', 'abc', ...]
|
||||
```
|
||||
5
backend/node_modules/tlds/bin.js
generated
vendored
Executable file
5
backend/node_modules/tlds/bin.js
generated
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const tlds = require(".");
|
||||
|
||||
tlds.forEach((tld) => console.log(tld));
|
||||
2
backend/node_modules/tlds/index.d.ts
generated
vendored
Normal file
2
backend/node_modules/tlds/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
declare const tlds: string[];
|
||||
export = tlds;
|
||||
1440
backend/node_modules/tlds/index.json
generated
vendored
Normal file
1440
backend/node_modules/tlds/index.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
43
backend/node_modules/tlds/package.json
generated
vendored
Normal file
43
backend/node_modules/tlds/package.json
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "tlds",
|
||||
"version": "1.261.0",
|
||||
"description": "A list of TLDs.",
|
||||
"repository": "https://github.com/stephenmathieson/node-tlds.git",
|
||||
"author": "Stephen Mathieson",
|
||||
"license": "MIT",
|
||||
"main": "index.json",
|
||||
"files": [
|
||||
"index.json",
|
||||
"index.d.ts",
|
||||
"bin.js"
|
||||
],
|
||||
"bin": "bin.js",
|
||||
"scripts": {
|
||||
"lint": "eslint .",
|
||||
"format": "prettier --write .",
|
||||
"test": "node test.js"
|
||||
},
|
||||
"keywords": [
|
||||
"data",
|
||||
"tld",
|
||||
"tlds",
|
||||
"top",
|
||||
"level",
|
||||
"domains"
|
||||
],
|
||||
"devDependencies": {
|
||||
"eslint": "^7.6.0",
|
||||
"got": "^11.5.1",
|
||||
"is-punycode": "^1.0.1",
|
||||
"prettier": "^2.8.8",
|
||||
"punycode": "^2.1.1",
|
||||
"semver": "^7.3.2"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "eslint:recommended",
|
||||
"env": {
|
||||
"node": true,
|
||||
"es2020": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user