This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Gregory J. Orton
Posted Sep 24 - Read on Facebook

Yo, anyone know how I could go about importing this library into Framer:

https://github.com/mattdiamond/Recorderjs

the dist .js file has no dependencies, but when I put it in the modules folder, Framer whines about a missing dependency that I think comes from node. I have little understanding of node.

Can someone point me in the right direction?

4 Comments

Sergey Voronov

https://framerjs.com/docs/#modules.npm u need to run npm in terminal in order to install dependances

Sergey Voronov

here is example on how npm used with framer https://www.mapbox.com/blog/power-framer-prototype-with-mapbox/

Gregory J. Orton

i appreciate the input Sergey Voronov - and I saw the example using NPM. The thing is, the RecordJS project is 'browserified' already - the 'dist' is just a .js file. No node modules etc.

But then if I put it in my modules folder, then framer complains. RecorderJS isn't a npm project - but it does have NPM dependencies to *build*, but not to run...

Sergey Voronov

it has some dependancies module.exports = require("./recorder").Recorder;

Read the entire post on Facebook