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

speakly-core

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speakly-core - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

package.json
{
"name": "speakly-core",
"version": "0.0.4",
"version": "0.0.5",
"description": "speakly answers",
"main": "index.js",
"main": "speakly.js",
"scripts": {

@@ -7,0 +7,0 @@ "update": "git add .",

const puppeteer = require('puppeteer');
const fs = require('fs');
const path = require('path')
const RENDER_CATCH = new Map()

@@ -154,7 +155,11 @@ // process.setMaxListeners(process.getMaxListeners() + 1);

class Speakly{
answer(term,lang){
return speakly(term,lang)
async answer(term,lang){
return await speakly(term,lang)
}
async jsonAnswer(term,lang){
let answer = await this.answer(term,lang)
fs.writeFileSync(path.dirname(__dirname,'answer.json'),JSON.stringify(answer))
}
}
module.exports = Speakly
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