title: making modular javascript library by importing class methods without need to the whole class
body: <p>I'm trying to make a reusable javascript library for example books class and have createbook, checkforbook, modify book methods </p>
  
  <p>I want to use it like so </p>
  
  <pre><code>import Library, {checkForBook, modifyBook} from 'books'
  
  
  Library.createBook({
   name : 'firstbook',
   year: 2012
  })
  
  
  checkForBook('firstBook')
  
  modifyBook('firstBook',{
    name: 'secondBook'
  })
  
  </code></pre>
  
  <p>my problem right now is: how to do it without need to use new keywrod , and how to use methods wihout need to make it like Library.checkForBook
  and still have access to the list of books</p>