![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
swot-node
Advanced tools
🏫 Identify email addresses or domains names that belong to colleges or universities. Help automate the process of approving or rejecting academic discounts.
If you have a product or service and offer academic discounts, there's a good chance there's some manual component to the approval process. Perhaps .edu
email addresses are automatically approved because, for the most part at least, they're associated with American post-secondary educational institutions. Perhaps .ac.uk
email addresses are automatically approved because they're guaranteed to belong to British universities and colleges. Unfortunately, not every country has an education-specific TLD (Top Level Domain) and plenty of schools use .com
or .net
.
Swot is a community-driven or crowdsourced library for verifying that domain names and email addresses are tied to a legitimate university of college - more specifically, an academic institution providing higher education in tertiary, quaternary or any other kind of post-secondary education in any country in the world.
If you would like to add your school/educational institution, please create a pull request in this repository. Jetbrains/swot
does not provide source code to this library, but is included as the dataset as it contains thousands of schools and the team at Jetbrains is verifying and adding many schools every day. A new version of swot-node
with an updated dataset is automatically published to NPM every 24 hours.
Add swot-node
like other NPM packages, simply run:
yarn add swot-node
or
npm install swot-node
const swot = require("swot-node")
await swot.isAcademic('lreilly@stanford.edu') // true
await swot.isAcademic('lreilly@strath.ac.uk') // true
await swot.isAcademic('lreilly@soft-eng.strath.ac.uk') // true
await swot.isAcademic('pedro@ugr.es') // true
await swot.isAcademic('lee@uottawa.ca') // true
await swot.isAcademic('lee@leerilly.net') // false
const swot = require("swot-node")
await swot.isAcademic('harvard.edu') // true
await swot.isAcademic('www.harvard.edu') // true
await swot.isAcademic('http://www.harvard.edu') // true
await swot.isAcademic('http://www.github.com') // false
await swot.isAcademic('http://www.rangers.co.uk') // false
const swot = require("swot-node")
await swot.getSchoolNames('www.bbs1-gifhorn.de')
// => [ "BBS1 Gifhorn", "Berufsbildene Schule 1 Gifhorn" ]
await swot.getSchoolNames('stanford.edu')
// => [ "Stanford University" ]
const swot = require("swot-node")
await swot.getSchoolName('lreilly@cs.strath.ac.uk')
// => "University of Strathclyde"
await swot.getSchoolName('http://www.stanford.edu')
// => "Stanford University"
await swot.getSchoolName('https://www.github.com')
// => false
await swot.getSchoolName('QaPk59GZ9Zv8.edu')
// => true
Apache 2.0
Copyright (c) 2021 Marvin Schopf
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
🏫 Identify email addresses or domains names that belong to colleges or universities. Help automate the process of approving or rejecting academic discounts.
The npm package swot-node receives a total of 2,694 weekly downloads. As such, swot-node popularity was classified as popular.
We found that swot-node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.