🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

durat

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

durat

Open the possibilities of what you can do with text.

latest
Source
npmnpm
Version
0.0.6
Version published
Maintainers
1
Created
Source

Durat

Created with ❤️ by @FilippoFonseca

Logo

What is this?

Durat is a functional JS/TS open-source Node framework for opening the possibilities of what you can do with text.

Part of an experiment in the fields of universal grammar, language connotation, and linguistics.

Initialization

Install Durat:

npm i durat
// or
yarn add durat

Initialize it in your project:

import Durat from "durat";

// declare an instance of the class Durat and assign it to a variable, as such:

const durat = new Durat();

// now you can use Durat's functionality in your code, as such:

const timeToRead = (input: string) => {
  const result = Durat.readTime(input);

  return result;
};

Let's test the output of our timeToRead function, which we initialized above:

console.log(
  timeToRead("This is an example of text you would pass in to this method.")
);

Output in console: 6

Use

Read more of the official Durat documentation to understand more about how it works/how to use it by clicking here.

FAQs

Package last updated on 20 Oct 2020

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