Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

text-analysis-api

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

text-analysis-api - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

package.json
{
"name": "text-analysis-api",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -14,5 +14,4 @@ "main": "index.js",

"dependencies": {
"body-parser": "^1.20.2",
"sentiment": "^5.0.2"
}
}

@@ -5,2 +5,4 @@ ## GET STARTED

```
### Demo
[Demo](https://txt-analysis.vercel.app/)

@@ -7,0 +9,0 @@ ### Usage

const express = require('express');
const bodyParser = require('body-parser');
// const bodyParser = require('body-parser');
const Sentiment = require('sentiment'); // npm install sentiment
const app = express();
app.use(bodyParser.urlencoded({ extended: true }));
app.use(bodyParser.json());
// app.use(bodyParser.urlencoded({ extended: true }));
// app.use(bodyParser.json());

@@ -9,0 +9,0 @@ app.post('/analyze', (req, res) => {

@@ -1,2 +0,2 @@

const bodyParser = require('body-parser');
const Sentiment = require('sentiment'); // npm install sentiment

@@ -3,0 +3,0 @@ // index.js

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc