You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

german-determiners

Package Overview
Dependencies
0
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

german-determiners

German determiners


Version published
Maintainers
1
Created

Readme

Source

german-determiners

A simple Node.js module that contains German determiners. For instance der is the definite article for masculine singular.

It exposes a single function, getDet, that takes 6 arguments:

  • determiner type (string, mandatory): DEFINITE INDEFINITE DEMONSTRATIVE or POSSESSIVE
  • case (string, mandatory): NOMINATIVE ACCUSATIVE DATIVE or GENITIVE
  • when type is POSSESSIVE, info about the owner (for other det types put null)
    • gender: M F or N
    • number: S or P
  • info about the owned (mandatory):
    • gender: M F or N
    • number: S or P

Installation

npm install german-determiners

Usage

var determiners = require('german-determiners');

// der
console.log( determiners.getDet('DEFINITE', 'NOMINATIVE', null, null, 'M', 'S') );

// dieser
console.log( determiners.getDet('DEMONSTRATIVE', 'GENITIVE', null, null, 'M', 'P') );

// seines
console.log( determiners.getDet('POSSESSIVE', 'GENITIVE', 'N', 'S', 'M', 'S') );

See test.js for examples.

dependencies and licences

no dependency

Keywords

FAQs

Package last updated on 07 Oct 2023

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc