st_phan
st_phan

Reputation: 914

Using Javascript libraries with CocoaScript

I'm creating a plugin for Bohemian Coding's Sketch. They are using CocoaScript for creating plugins.

Regular coding works fine, however I wondered if it is possible to use javascript libraries with CocoaScript. Specifically I tried multiple csv-to-json libraries (such as PapaParse) within my code, which failed to function.

Unfortunately I can't find almost anything on the web regarding CocoaScript, since it is not widely used. The console is also not very helpful, since Error messages are pretty basic right now.

So, long story short:

Can I use javascript libraries with CocoaScript and if yes, what are it's limitations?

Upvotes: 1

Views: 404

Answers (1)

st_phan
st_phan

Reputation: 914

I asked the creator of CocoaScript via Twitter and this was his answer:

"You probably can't use most [libraries] without mods, it would really depend on the library."

Upvotes: 2

Related Questions