Yes, you are correct. Installing packages with NPM is for use in Node.js applications, which run on the server side. If you want to use the Twitter API in a web application that runs in the browser, you'll need to use a client-side library or write your own client-side code to make requests to the Twitter API.

One popular client-side library for working with the Twitter API in a web application is called "twitter-text" and can be installed using npm. This library provides tools for parsing and formatting Twitter-related content, and can be used in a variety of web development frameworks, including React and Vue.

Keep in mind that when using the Twitter API, you will need to obtain authentication credentials and follow the Twitter API terms of service. Additionally, you may be subject to rate limits, which restrict the number of requests you can make to the API in a given time period.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence