Skip to content

Transforms HTML type date inputs into a natural language input format without the need for advanced NLP APIs or libraries

Notifications You must be signed in to change notification settings

charliezstong/nlpdates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLPDates

Transforms HTML type date inputs into a natural language input format without the need for advanced NLP APIs or libraries. It is ideal for static websites; if you plan to use it in modern frontend frameworks, consider integrating it with chrono-node.

Usage

<script src="nlpdates.js"></script>
<script>
const nlpDates = window.NlpDates();
const parseDateEs = nlpDates.transformEs('Mañana a las 10 am');
console.log(date);
</script>

CDN

<script src="https://cdn.jsdelivr.net/gh/charliezstong/nlpdates/dist/nlpdates.min.js"></script>

That's it!.

About

Transforms HTML type date inputs into a natural language input format without the need for advanced NLP APIs or libraries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages