grammerfixer
v1.0.1
Published
grammerfixer is a openai o4-mini package that improves grammer of a given string.
Downloads
7
Readme
grammerfixer
grammerfixer is a openai o4-mini package that improves grammer of a given string.
first: > .env //add your env file and add your openai api key
then install it:
npm i grammerfixerthen import it:
ìmport {grammerfixer} from 'grammerfixer'the grammerfixer is a async promise so you have to use await like this:
const obj = await grammerfixer(<sentence to improve>)then run the js file and you get a grammatically correct sentence
