Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filippo-fonseca/durat
💬 A JS/TS framework for opening the possibilities for what you can do with text.
https://github.com/filippo-fonseca/durat
framework npm npm-package package read text text-analysis text-processing text-to-speech yarn yarn-package
Last synced: 10 days ago
JSON representation
💬 A JS/TS framework for opening the possibilities for what you can do with text.
- Host: GitHub
- URL: https://github.com/filippo-fonseca/durat
- Owner: filippo-fonseca
- License: mit
- Created: 2020-10-05T21:46:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-20T17:26:07.000Z (about 4 years ago)
- Last Synced: 2024-10-11T20:41:01.464Z (about 1 month ago)
- Topics: framework, npm, npm-package, package, read, text, text-analysis, text-processing, text-to-speech, yarn, yarn-package
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/durat
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Durat
Created with ❤️ by [@FilippoFonseca](https://www.twitter.com/FilippoFonseca)
![Logo](https://i.ibb.co/L6PttGB/d.png)
## 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:**
```ts
npm i durat
// or
yarn add durat
```**Initialize it in your project:**
```ts
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:
```ts
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]().