Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

duden-search-api

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

duden-search-api

Search API für duden.de

  • 1.0.7
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

duden-search-api

A Node.js Duden.de 'API' (website scraper for searching of german words on duden.de)

Install

npm i duden-search-api --save

Usage

const DudenSearchApi = require( "duden-search-api" );

let instance = new DudenSearchApi();

instance.searchWord( "gestern" ).then( ( result ) => {
	console.log( result );
} ).catch( ( error ) => {
	console.log( error );
} );

The result array

The resulted return value is in the following scheme:

[
	{
		"word": "gestern",
		"props": {
			"wordClass": "Adverb",
			"hyphenation": [
				"ges",
				"tern"
			],
			"meanings": [
				"an dem Tag, der dem heutigen unmittelbar vorausgegangen ist",
				"früher"
			],
			"ancestry": "mittelhochdeutsch gester(n), althochdeutsch gesteron, eigentlich = am anderen Tag"
		}
	}
]

Todo

  • simple word search
  • extend word results (distribution, hyphenation, ancestry, examples)
  • documentation ;)

FAQs

Package last updated on 26 Dec 2019

Did you know?

Socket

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.

Install

Related posts

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