npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ubersetzung

v0.2.0

Published

translate words with examples from German to English

Downloads

9

Readme

Build Status Version Dependency Status Downloads npm Github All Releases Twitter Follow

Ubersetzung

Translate from German to English with related words and example sentences

Argumentation

I am still learning German and I still cannot find chrome extension, that not only translated the selected word, but also provides me example sentences information. So I wrote this script that can translate a German word and sending back translation, related words and example use for this word.

How it works?

Scraping several websites and two free APIs

Scraping is bad,mmmkey!

It is, but in this case it is at least for learning purposes.

Usage

// npm i ubersetzung
const translation = require("ubersetzung")
translation("abkommen").then(console.log)

The output is an object:

{ deEnFirst: [ { dePart: 'schnell', enPart: 'fast' } ],
  deEnSecond:
   [ { dePart: 'schnell', enPart: 'fast' },
     { dePart: 'schnell', enPart: ' quick' },
     { dePart: 'schnell', enPart: ' rapid' },
     { dePart: 'schnell', enPart: ' snap' },
     { dePart: 'schnell', enPart: ' speedy' },
     { dePart: 'schnell', enPart: ' swift' } ],
  deEnThird: [],
  deEnFourth:
   [ { dePart: 'schnell',
       enPart: 'quickly, quick, rapidly, swiftly, speedily, apace' } ],
  synonymFirst:
   [ { dePart: 'direkt', enPart: 'schnell' },
     { dePart: 'einfach', enPart: 'schnell' },
     { dePart: 'gerade', enPart: 'schnell' },
     { dePart: 'geradewegs', enPart: 'schnell' },
     { dePart: 'geradezu', enPart: 'schnell' },
     { dePart: 'geradlinig', enPart: 'schnell' },
     { dePart: 'gradlinig', enPart: 'schnell' },
     { dePart: 'langsam (Antonym)', enPart: 'schnell' },
     { dePart: 'unmittelbar', enPart: 'schnell' },
     { dePart: 'Tempo', enPart: 'schnell' } ],
  synonymSecond:
   [ { dePart: 'bald', enPart: 'schnell' },
     { dePart: 'eilends', enPart: 'schnell' },
     { dePart: 'flugs', enPart: 'schnell' },
     { dePart: 'gleich', enPart: 'schnell' },
     { dePart: 'kurzerhand', enPart: 'schnell' },
     { dePart: 'schnellstens', enPart: 'schnell' },
     { dePart: 'sofort', enPart: 'schnell' },
     { dePart: 'schleunig', enPart: 'schnell' },
     { dePart: 'schleunigst', enPart: 'schnell' },
     { dePart: 'los', enPart: 'schnell' },
     { dePart: 'auf dem schnellsten Wege', enPart: 'schnell' },
     { dePart: 'auf der Stelle', enPart: 'schnell' },
     { dePart: 'auf Windesflügeln', enPart: 'schnell' },
     { dePart: 'binnen kurzem', enPart: 'schnell' },
     { dePart: 'schnell', enPart: 'schnell' } ],
  synonymThird: [],
  synonymFourth:
   [ { dePart: 'schnell', enPart: 'quickly' },
     { dePart: 'rasch', enPart: 'quickly' },
     { dePart: 'express', enPart: 'quickly' },
     { dePart: 'schnell', enPart: 'quick' },
     { dePart: 'dalli', enPart: 'quick' },
     { dePart: 'schnell', enPart: 'rapidly' },
     { dePart: 'rasch', enPart: 'rapidly' },
     { dePart: 'zusehends', enPart: 'rapidly' },
     { dePart: 'schnell', enPart: 'swiftly' },
     { dePart: 'rasch', enPart: 'swiftly' },
     { dePart: 'flink', enPart: 'swiftly' },
     { dePart: 'prompt', enPart: 'swiftly' },
     { dePart: 'flott', enPart: 'swiftly' },
     { dePart: 'schnell', enPart: 'speedily' },
     { dePart: 'flugs', enPart: 'speedily' },
     { dePart: 'prompt', enPart: 'speedily' },
     { dePart: 'schnell', enPart: 'apace' } ],
  phraseFirst:
   [ { dePart: 'ein Bußgeld für zu schnelles Fahren',
       enPart: 'a fine for speeding' },
     { dePart: 'schneller werden', enPart: 'get faster' },
     { dePart: 'schneller werden', enPart: 'pick up speed' },
     { dePart: 'schnelle Bedienung',
       enPart: 'fast quick, prompt service' },
     { dePart: 'schnelle Bedienung',
       enPart: 'quick waiter waitress' },
     { dePart: 'in schneller Folge',
       enPart: 'in quick rapid succession' },
     { dePart: 'auf schnellstem Wege',
       enPart: 'as quickly as possible, by the quickest possible means' },
     { dePart: 'eine schnelle Entscheidung treffen',
       enPart: 'make a quick decision' },
     { dePart: 'eine schnelle Entscheidung treffen müssen',
       enPart: 'have to make up one’s mind fast' },
     { dePart: 'das erfordert schnelles Handeln',
       enPart: 'that calls for swift immediate action' },
     { dePart: 'schneller Umsatz',
       enPart: 'quick returns, fast turnover' },
     { dePart: 'ein schneller Blick',
       enPart: 'a quick fleeting glance' },
     { dePart: 'er ist nicht gerade der Schnellste',
       enPart: 'he’s not exactly quick on the uptake' },
     { dePart: 'schnell denken', enPart: 'do some quick thinking' },
     { dePart: 'schnell handeln', enPart: 'act fast without delay' },
     { dePart: '(mach) schnell!',
       enPart: 'hurry up!, get a move on!, step on it!' },
     { dePart: 'nicht so schnell!',
       enPart: 'not so fast!, hang on!' },
     { dePart: 'das geht schnell',
       enPart: 'it doesn’t won’t take long' },
     { dePart: 'das geht nicht so schnell',
       enPart: 'it can’t be done that quickly, it takes time' },
     { dePart: 'das ist schnell gegangen!',
       enPart: 'that was quick!' },
     { dePart: 'schneller ging es nicht',
       enPart: 'I couldn’t do it any faster' },
     { dePart: 'schneller geht’s bei mir nicht',
       enPart: 'I can’t do it any faster (than this), I’m doing my best' },
     { dePart: 'das geht mir zu schnell',
       enPart: 'things are happening too fast for me for my liking' },
     { dePart: 'das geht mir zu schnell', enPart: 'I can’t keep up' },
     { dePart: 'ich gehe mal eben schnell zum Bäcker',
       enPart: 'I’m just going to pop round to the baker’s zip out to the bakery' },
     { dePart: 'ich muss schnell noch aufs Klo',
       enPart: 'I must just pay a quick visit' },
     { dePart: 'ich muss schnell noch aufs Klo',
       enPart: 'I have to visit the men’s room' },
     { dePart: 'komm schnell!', enPart: 'come quick(ly)!' },
     { dePart: 'schnell reich werden', enPart: 'get rich quick' },
     { dePart: 'so schnell wie möglich',
       enPart: 'as quickly as possible' },
     { dePart: 'er begreift schnell',
       enPart: 'he’s quick (on the uptake)' },
     { dePart: 'sie lernt unheimlich schnell',
       enPart: 'she picks things up amazingly quickly' },
     { dePart: 'sie hat schnell und richtig reagiert',
       enPart: 'her reaction was really fast and right on' },
     { dePart: 'er liest schnell', enPart: 'he’s a fast reader' },
     { dePart: 'sein Atem ging schnell',
       enPart: 'he was breathing fast' },
     { dePart: 'sprich nicht so schnell!',
       enPart: 'don’t talk so fast, slow down' },
     { dePart: 'wir wurden schnell bedient',
       enPart: 'the service was fast, we got served fast' },
     { dePart: 'schnell wirkend', enPart: 'fast-acting' },
     { dePart: 'das werden wir ganz schnell haben',
       enPart: 'we’ll have that (done) in no time' },
     { dePart: 'sie ist schnell verärgert/beleidigt',
       enPart: 'she is easily annoyed/she’s quick to take offence -se' },
     { dePart: 'wie heißt er schnell noch?',
       enPart: 'what’s his name again?' },
     { dePart: 'sag mal schnell, …', enPart: 'tell me quickly, …' },
     { dePart: 'eine Forelle schnellte aus dem Wasser',
       enPart: 'a trout leapt out of the water' },
     { dePart: 'in die Höhe schnellen', enPart: 'shoot up, rocket' } ],
  phraseSecond:
   [ { dePart: 'er ist sehr schnell mit seinem Urteil/seiner Kritik',
       enPart: 'he\'s very quick to judge/to criticize' },
     { dePart: 'schnelles Geld (machen)',
       enPart: '(to make) a fast buck (inf)' },
     { dePart: 'schneller als der Schall fliegen',
       enPart: 'to fly faster than the speed of sound' },
     { dePart: 'wie schnell ist er die 100 Meter gelaufen?',
       enPart: 'how fast did he run the 100 metres (Brit) or meters  (US)?' },
     { dePart: 'geh schneller!', enPart: 'hurry up!' },
     { dePart: 'nicht so schnell!', enPart: 'not so fast!' },
     { dePart: 'sein Puls ging schnell',
       enPart: 'his pulse was very fast' },
     { dePart: 'das geht schnell', enPart: 'it doesn\'t take long' },
     { dePart: 'das mache ich gleich, das geht schnell',
       enPart: 'I\'ll do that now, it won\'t take long' },
     { dePart: 'das ging schnell', enPart: 'that was quick' },
     { dePart: 'mach schnell/schneller!', enPart: 'hurry up!' },
     { dePart: 'es ist mit dem Patienten schnell gegangen',
       enPart: 'it was all over quickly' },
     { dePart: 'an der Grenze ist es schnell gegangen',
       enPart: 'things went very quickly at the border' },
     { dePart: 'das ging alles viel zu schnell',
       enPart: 'it all happened much too quickly or fast' },
     { dePart: 'das werden wir schnell erledigt haben',
       enPart: 'we\'ll soon have that finished' },
     { dePart: 'das werden wir schnell sehen',
       enPart: 'we\'ll soon see about that' },
     { dePart: 'das sagt sich so schnell',
       enPart: 'that\'s easy to say' },
     { dePart: 'sie wird schnell böse ⇒ sie ist schnell verärgert',
       enPart: 'she loses her temper quickly' },
     { dePart: 'das werde ich so schnell nicht vergessen/wieder tun',
       enPart: 'I won\'t forget that/do that again in a hurry' },
     { dePart: 'diese dünnen Gläser gehen schnell kaputt',
       enPart: 'these thin glasses break easily' },
     { dePart: 'ich gehe noch schnell beim Bäcker vorbei',
       enPart: 'I\'ll just stop by at the baker\'s' },
     { dePart: 'kannst du das vorher noch schnell machen?',
       enPart: 'can you do that quickly first?' },
     { dePart: 'ich muss mir nur noch schnell die Haare kämmen',
       enPart: 'I must just give my hair a quick comb' } ] }